From: Jeff King Date: Fri, 04 Jan 2008 07:26:50 GMT Subject: Re: git-walkthrough-add script Message-ID: <20080104072650.GA24685@coredump.intra.peff.net> In-Reply-To: <1199426431-sup-6092@south> On Thu, Jan 03, 2008 at 10:14:31PM -0800, William Morgan wrote: > I've written a little script to do darcs-style hunk-by-hunk > walkthroughs. It's based on the git-hunk-commit script that was floating > around. Maybe someone else will find it useful. > > http://git-wt-commit.rubyforge.org/ It didn't work for me, since the diff parsing failed to match my particular colors (I needed /^.....diff/ instead of /^....diff/). I suspect the color matching needs to be more flexible to be generally useful. However, I'm not clear what advantages this has over "git add -p". -Peff