bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash source repository


From: Michael Witten
Subject: Re: Bash source repository
Date: Mon, 30 May 2011 06:34:58 +0000

On Mon, May 30, 2011 at 05:06, Ben Pfaff <blp@cs.stanford.edu> wrote:
> "Bradley M. Kuhn" <bkuhn@ebb.org> writes:
>
>> The new repository contains everything that the current
>> Savannah one does, but I put much more effort into making
>> commits fine-grained, rather than merely importing the public
>> releases blindly.  (For example, I did 'git mv' where it was
>> obvious a move occurred, so that changes in file movements were
>> properly tracked historically).
>
> Git doesn't track file movement in any way, it just tracks file
> content.  It is "git diff" and other commands for viewing history
> that figure out that a file moved, based on the change that
> occurred.  It is a waste of time to use "git mv" if some other
> way is easier.

More importantly, it is best to move files and commit the results
without any other additional content changes occuring simultaneously,
so that commands like "git diff" may figure this out more readily.

Perhaps (and hopefully) Bradley meant that file moves were separated
from any other content changes that might otherwise have occurred
simultaneously.

P.S.

Ben, it is generally a good idea to maintain the `Cc' list unless
explicitly asked.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]