git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: jateeq <jawad_atiq@hotmail.com>
Cc: git@vger.kernel.org
Subject: Re: Git status shows modifications after cloning
Date: Mon, 8 Mar 2010 17:40:22 +0200	[thread overview]
Message-ID: <20100308154021.GA27413@Knoppix> (raw)
In-Reply-To: <27821819.post@talk.nabble.com>

On Mon, Mar 08, 2010 at 07:32:25AM -0800, jateeq wrote:
> 
> After cloning from a local repository, a git status shows me that each file
> in the repository has been modified - I don't want this to happen. I have
> searched around the net, and there is stuff about this happening if the
> configurations for the original and the clone are not the same, with
> specific mention of the variable core.autocrlf. However, this variable is
> unspecified in both repositories, and the differences in config files is
> listed below.

At least having core.autocrlf enabled and having CRLF files in repository
is known to cause problems like that. But reading the configuration, it doesn't
look this is Windows system (and the rest don't tend to have core.autocrlf
enabled).

The files in repository definitely should not have CRLF line endings (the
proper one is just LF).

-Ilari

  reply	other threads:[~2010-03-08 15:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08 15:32 Git status shows modifications after cloning jateeq
2010-03-08 15:40 ` Ilari Liusvaara [this message]
2010-03-08 18:37 ` jateeq

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100308154021.GA27413@Knoppix \
    --to=ilari.liusvaara@elisanet.fi \
    --cc=git@vger.kernel.org \
    --cc=jawad_atiq@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).