[Top][All Lists]

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

Re: git patch

From: Han-Wen Nienhuys
Subject: Re: git patch
Date: Wed, 06 Dec 2006 11:18:08 +0100
User-agent: Thunderbird (X11/20061107)

Johannes Schindelin escreveu:
> The thing is: it is so darned convenient. In 99% of calling "git diff" you 
> do not have a modified staging area. It is still fresh, and all your 
> changes are in the working directory only.
> Then you can say
> $ git diff
> to see what you have changed. (Since Git 1.4.3 it automatically sends the 
> output to a pager if the target is a tty, so you do not need the "-p" 
> flag).
> But you also can compare it to _any_ revision. That includes a tag:
> $ git diff lilypond_2_9_7
> and you see all the changes with respect to that revision, fast. It may 
> seem fishy at first sight, but at second, it is really convenient, so I 
> don't complain any more...

I'm not saying git-diff should be inconvenient, but rather that it
gives a newbie more confidence if

  git commit --dry

shows the diff of the change that he just introduced


Han-Wen Nienhuys - address@hidden -

LilyPond Software Design
 -- Code for Music Notation

reply via email to

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