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

Previous hunk in different file during add --patch

From
RDRobert Dailey <rcdailey.lists@gmail.com>
Date
Jan 4, 2018, 21:59 UTC
Message-ID
<CAHd499C7sNWSr_rQKLNQMZNUpueVsebbBOQ7ADC0wx_GJkrVmA@mail.gmail.com>

I keep expecting that pressing K during patch add that it will cross file boundaries and go to previous hunks in files before the current one. However, it reports "no hunks" when reaching the top hunk in the current file. Is there a way to go to the previous file?

Message 1 of 1 in “Previous hunk in different file during add --patch”
  1. Robert DaileyJan 4, 2018

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.