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 5, 2008, 04:08 UTC
Message-ID
<0F790B89-2FFB-4C54-A109-E55E1FB57D3B@simplicidade.org>
In-Reply-To
<7vprwhf0kf.fsf@gitster.siamese.dyndns.org>
On Jan 5, 2008, at 2:50 AM, Junio C Hamano wrote:
Show 18 quoted lines
> They are meant to be different.
>
>     $ git reset --hard
>     $ echo >>Makefile
>     $ echo >>psql/Makefile
>     $ git add -p
>     diff --git a/Makefile b/Makefile
>     index a2177bc..eb250b0 100644
>     --- a/Makefile
>     +++ b/Makefile
>     @@ -54,3 +54,4 @@ snapdiff ::
>             latest=`ls -1dr $(_snap)/release-????-??-?? | head -n  
> 1` &&
>             \
>             diff -X dontdiff -ru "$$latest" .
>
>     +
>     Stage this hunk [y/n/a/d/?]? ^C
BTW, I'm using 1.5.4rc2 and this prompt shows:
Stage this hunk [y/n/a/d/j/J/?]?
but the help (after you press ?) also mentions:

k - leave this hunk undecided, see previous undecided hunk K - leave this hunk undecided, see previous hunk s - split the current hunk into smaller hunks

but those three options don't seem to work.
Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo@simplicidade.org
Use XMPP!
Previous: William MorganNext: Pedro Melo
Message 9 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.