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

Re: git-walkthrough-add script

From
Pedro Melo <melo@simplicidade.org>
Date
Jan 4, 2008, 23:26 UTC
Message-ID
<2CC98B8C-CBB1-4C26-8C94-B152A4D02DDC@simplicidade.org>
In-Reply-To
<1199426431-sup-6092@south>
Hi,
On Jan 4, 2008, at 6:14 AM, William Morgan wrote:
Show 6 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/

Maybe I'm doing something wrong, but comparing git-add -p with your script, git-add -p is more darcs'ish. With git-add, if I have several changes in the same file, I get to choose per hunk.

You script asks me to add all the changes in the same file at once.
Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo@simplicidade.org
Use XMPP!
Previous: Pedro MeloNext: Junio C Hamano
Message 10 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.