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

[PATCH 0/1] add -p: fix checkout -p with pathological context

From
PGPhillip Wood via GitGitGadget <gitgitgadget@gmail.com>
Date
Jun 12, 2019, 09:25 UTC
Message-ID
<pull.262.git.gitgitgadget@gmail.com>

When I fixed the hunk offsets in add -p when hunks are skipped I forgot that the reverse patch case needs to be handled differently.

Phillip Wood (1):
  add -p: fix checkout -p with pathological context
 git-add--interactive.perl  | 6 +++++-
 t/t3701-add-interactive.sh | 8 ++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
base-commit: aeb582a98374c094361cba1bd756dc6307432c42
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-262%2Fphillipwood%2Fwip%2Ffix-checkout-p-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-262/phillipwood/wip/fix-checkout-p-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/262
-- 
gitgitgadget
Next: Phillip Wood via GitGitGadget
Message 1 of 2 in “add -p: fix checkout -p with pathological context”
  1. 0/1 add -p: fix checkout -p with pathological contextPhillip Wood via GitGitGadget, Jun 12, 2019
  2. 1/1 add -p: fix checkout -p with pathological contextPhillip Wood via GitGitGadget, Jun 12, 2019

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.