[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 1.5.0.8 (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 - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
- Re: git patch, (continued)
- Re: git patch, Graham Percival, 2006/12/05
- Re: git patch, Johannes Schindelin, 2006/12/05
- Re: git patch, Graham Percival, 2006/12/05
- Re: git patch, Johannes Schindelin, 2006/12/05
- Re: git patch, Graham Percival, 2006/12/06
- Re: git patch, Johannes Schindelin, 2006/12/06
- Re: git patch, Han-Wen Nienhuys, 2006/12/06
- Re: git patch, Johannes Schindelin, 2006/12/06
- Re: git patch,
Han-Wen Nienhuys <=
- Re: git patch, Johannes Schindelin, 2006/12/06
- Re: git patch, Han-Wen Nienhuys, 2006/12/06
- Re: git patch, Johannes Schindelin, 2006/12/06
- Re: git patch, Jakub Narebski, 2006/12/06
- Re: git patch, Mats Bengtsson, 2006/12/06
- Re: git patch, Johannes Schindelin, 2006/12/06
- Re: git patch, Werner LEMBERG, 2006/12/06
Re: git patch, Mats Bengtsson, 2006/12/05
Re: git patch, John Mandereau, 2006/12/05