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

Interactive staging not functioning properly?

From
RDRobert Dailey <rcdailey.lists@gmail.com>
Date
Sep 4, 2014, 21:54 UTC
Message-ID
<CAHd499CdEORortwMWE5eLiKuiYV=yd=sZ4cny8gYe+HCzK4D5w@mail.gmail.com>
I run the following:
$ git add -p

I skip the first hunk by typing "n". At the next hunk, I try "k" and "K". In both cases, it shows me the same hunk I'm on again and says "No previous hunk".

Is this intended behavior? I expect to be taken back to the previous hunk that I did not stage.

Running Git 2.1.0 on msysgit Windows.
Next: Robert Dailey
Message 1 of 2 in “Interactive staging not functioning properly?”
  1. Robert DaileySep 4, 2014
  2. Robert DaileySep 4, 2014

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.