From: Johannes Schindelin Date: Tue, 18 Dec 2007 22:48:07 GMT Subject: RE: git with custom diff for commits Message-ID: 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.)] > > 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