Re: selective git-update-index per diff(1) chunks

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Anand Kumria <wildfire@...>
Cc: <git@...>
Date: Friday, December 1, 2006 - 3:42 pm

Hi,

On Fri, 1 Dec 2006, Anand Kumria wrote:


Can't say anything about advanced recipes, but I use a poor-man's 
workflow:

$ git diff > a1.patch
$ vi a1.patch
  <edit out what I want to _keep_>
$ git apply -R < a1.patch
  <test & commit>
$ git apply < a1.patch

Of course, you could write a little wrapper around it, even one which asks 
you which hunks you want to edit out. Should not be that hard...

Note that this is independent of the SCM you are using.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: selective git-update-index per diff(1) chunks, Anand Kumria, (Fri Dec 1, 12:45 pm)
Re: selective git-update-index per diff(1) chunks, Johannes Schindelin, (Fri Dec 1, 3:42 pm)