Re: git-diff on touched files: bug or feature?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 2, 2007, 10:48 UTC
- Message-ID
- <Pine.LNX.4.64.0708021147110.14781@racer.site>
- In-Reply-To
- <vpqbqdq45ua.fsf@bauges.imag.fr>
Hi,
On Thu, 2 Aug 2007, Matthieu Moy wrote:
Show 15 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > On Thu, 2 Aug 2007, Matthieu Moy wrote: > > > >> > If the feature still makes sense in the modern world is a > >> > different story, but I do find it useful. > >> > >> I understand that it can be usefull, but I really don't like having it > >> by default (is there a way to deactivate it BTW?). > > > > Yes. Just call "git status" and be done with it. > > That's not what I mean (my original message mentionned that already > BTW). By "deactivate", I mean "make git-diff never show empty diffs". > I don't want to run two commands where I need only one.
Then don't touch the files you do not want to touch! Or if you want to have it convenient, and have a script that touches everything, even if it does not change the contents, just add "git add -u" at the end of the script". Not that difficult.
Ciao, Dscho