RE: git with custom diff for commits
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 18, 2007, 22:48 UTC
- Message-ID
- <Pine.LNX.4.64.0712182246230.23902@racer.site>
- In-Reply-To
- <000d01c841c5$386f7350$762a14ac@na.acco.com>
Hi,
On Tue, 18 Dec 2007, Gerald Gutierrez wrote:
[who said that? (I know, but would you know in a few weeks? Right.)]
Show 9 quoted lines
> > What you seem to expect is to tell git "commit the changes except this > > portion", what you have to tell git is actually "commit the new state, > > but not if this portion is the only change". That sounds identical, > > but it's actually a bit different. > > It's not what I'm saying. > > Here's what the git-commit manpage on kernel.org says: "git-commit - > Record changes to the repository".
Yes. Changes, as in "take this _file_ instead". Not "edit this file, remove those lines, add these here, etc.".
So I think that you were saying exactly what Matthieu suggested.
Ciao, Dscho