Re: [PATCH] git-add--interactive: manual hunk editing mode

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Rast
Date: Thursday, May 29, 2008 - 12:10 pm

Johannes Schindelin wrote:

Aha, thanks for the pointer.  I'm not sure I'm in a position to
restart that discussion, but let's try anyway:

Note that what Junio said in

http://thread.gmane.org/gmane.comp.version-control.git/67854/focus=68108

is precisely what my patch implements.  I did not implement the
stashing he recommends in the same message, but I believe the fact
that 'add -p' stages the end result should be enough (and works at
least for my use case).

Johannes Sixt replied:

http://thread.gmane.org/gmane.comp.version-control.git/67854/focus=68108

I didn't do this because there is no way to ensure that the "other
half" can be applied cleanly to the unpatched state, thus requiring
extra tracking of "hunk dependencies", so to speak.  It could be done
of course, if anyone really needs it.

You also mention

http://thread.gmane.org/gmane.comp.version-control.git/67854/focus=68108

The y/n loop with count prefix works well for me.  It would be nice to
have it in an actual GUI of course, but I don't know enough Tcl/Tk to
implement that.

- Thomas

-- 
Thomas Rast
trast@student.ethz.ch

--
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:
[PATCH] git-add--interactive: manual hunk editing mode, Thomas Rast, (Fri May 23, 1:21 pm)
Re: [PATCH] git-add--interactive: manual hunk editing mode, Johannes Schindelin, (Thu May 29, 9:12 am)
Re: [PATCH] git-add--interactive: manual hunk editing mode, Thomas Rast, (Thu May 29, 12:10 pm)
Re: [PATCH] git-add--interactive: manual hunk editing mode, Johannes Schindelin, (Fri May 30, 2:49 am)
Re: [PATCH] git-add--interactive: manual hunk editing mode, Jakub Narebski, (Fri May 30, 3:46 am)
Re: [PATCH] git-add--interactive: manual hunk editing mode, Junio C Hamano, (Fri May 30, 2:35 pm)
Re: [RFC PATCH] git-add--interactive: manual hunk editing ..., Johannes Schindelin, (Thu Jun 5, 3:28 am)
Re: [RFC PATCH] git-add--interactive: manual hunk editing ..., Johannes Schindelin, (Fri Jun 6, 7:31 am)
Re: [RFC PATCH] git-add--interactive: manual hunk editing ..., Johannes Schindelin, (Sun Jun 8, 4:02 pm)
Re: [RFC PATCH] git-add--interactive: manual hunk editing ..., Johannes Schindelin, (Sun Jun 8, 4:06 pm)
Re: [PATCH v3] git-add--interactive: manual hunk editing mode, Johannes Schindelin, (Sun Jun 8, 4:19 pm)
Re: [PATCH v3] git-add--interactive: manual hunk editing mode, Johannes Schindelin, (Mon Jun 9, 9:13 am)
Re: [PATCH v3] git-add--interactive: manual hunk editing mode, Andreas Ericsson, (Tue Jun 10, 4:19 am)
Re: [PATCH v4] git-add--interactive: manual hunk editing mode, Johannes Schindelin, (Mon Jun 23, 11:54 am)
apply --recount, was Re: [PATCH v4] git-add--interactive: ..., Johannes Schindelin, (Mon Jun 23, 2:16 pm)
[PATCH 0/3] Manual editing for 'add' and 'add -p', Thomas Rast, (Tue Jun 24, 12:07 pm)
Re: [PATCH 0/3] Manual editing for 'add' and 'add -p', Miklos Vajna, (Tue Jun 24, 12:53 pm)
Re: [PATCH 1/3] Allow git-apply to ignore the hunk headers ..., Johannes Schindelin, (Fri Jun 27, 10:43 am)