From: Benoit SIGOURE Date: Fri, 26 Oct 2007 17:03:49 GMT Subject: Re: How to remove a specific hunk Message-ID: <2669F76D-6FF2-4CCF-9337-639D84EE65E8@lrde.epita.fr> In-Reply-To: <47220A05.4040705@wanadoo.fr> On Oct 26, 2007, at 5:38 PM, Pascal Obry wrote: > Andreas, > >> Once you've added the other two hunks, they'll no longer show up in >> git-diff, so you can do something like this: >> >> $ git-add -i; # add the other two hunks to commit >> $ git-diff > middle-hunk.patch >> $ git-apply -R middle-hunk.patch >> test, test, test >> $ git-apply middle-hunk.patch > > Thanks, this will clearly work. I was expecting something more > integrated like a "git reset --interactive" or something like that :) That'd be great! :) -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory