git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-walkthrough-add script

From
Jeff King <peff@peff.net>
Date
Jan 4, 2008, 07:26 UTC
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:
Show 5 quoted lines
> 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
Previous: William MorganNext: William Morgan
Message 2 of 16 in “git-walkthrough-add script”
  1. William MorganJan 4, 2008
  2. Jeff KingJan 4, 2008
  3. William MorganJan 4, 2008
  4. Jeff KingJan 4, 2008
  5. William MorganJan 5, 2008
  6. Junio C HamanoJan 5, 2008
  7. Junio C HamanoJan 5, 2008
  8. William MorganJan 5, 2008
  9. Pedro MeloJan 5, 2008
  10. Pedro MeloJan 4, 2008
  11. Junio C HamanoJan 4, 2008
  12. William MorganJan 5, 2008
  13. Pedro MeloJan 5, 2008
  14. Miklos VajnaJan 5, 2008
  15. William MorganJan 5, 2008
  16. Jeff KingJan 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.