From: Johannes Schindelin Date: Thu, 05 Feb 2009 20:50:03 GMT Subject: Re: "git revert" feature suggestion: revert the last commit to a file Message-ID: In-Reply-To: <20090205202104.GA11267@elte.hu> Hi, On Thu, 5 Feb 2009, Ingo Molnar wrote: > But it would be so much nicer if i could do the intuitive: > > git revert kernel/softlockup.c For some people I know, this would intuitively mean that the uncommitted changes in kernel/softlockup.c should be reverted. So I am not convinced that this is an intuitive syntax at all. Instead, I think that something like git revert :/!file=kernel/softlockup.c would be possible, as it - does not overload an already overloaded term, and - is useful for something else than revert, too. Ciao, Dscho