* rename directory weirdness
@ 2007-07-26 7:47 Bert Douglas
2007-07-26 8:54 ` Steven Grimm
0 siblings, 1 reply; 2+ messages in thread
From: Bert Douglas @ 2007-07-26 7:47 UTC (permalink / raw)
To: git
I am new user. Trying to understand git.
I renamed a directory.
$ mv dir1 dir2
$ git add dir2
$ git commit -a
It popped up my editor with long list of files that it recognized as
'renamed'.
But one file it listed as 'copied' and further down as 'deleted'.
Why this one file out of thousands not recognized as 'renamed' ?
Is this a sign of a problem ?
Thanks again for all help.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rename directory weirdness
2007-07-26 7:47 rename directory weirdness Bert Douglas
@ 2007-07-26 8:54 ` Steven Grimm
0 siblings, 0 replies; 2+ messages in thread
From: Steven Grimm @ 2007-07-26 8:54 UTC (permalink / raw)
To: Bert Douglas; +Cc: git
Bert Douglas wrote:
> $ mv dir1 dir2
> $ git add dir2
> $ git commit -a
>
> It popped up my editor with long list of files that it recognized as
> 'renamed'.
> But one file it listed as 'copied' and further down as 'deleted'.
>
> Why this one file out of thousands not recognized as 'renamed' ?
> Is this a sign of a problem ?
Are the contents of the file in question identical to those of some
other file in your directory tree? I've seen that happen too. There were
some proposed improvements to address this last time it came up on the
list, but I'm not sure if any of them actually made it into the code base.
-Steve
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-26 8:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-26 7:47 rename directory weirdness Bert Douglas
2007-07-26 8:54 ` Steven Grimm
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).