]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'rs/add-patch-options-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 17 Oct 2025 21:02:17 +0000 (14:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Oct 2025 21:02:17 +0000 (14:02 -0700)
commitcd6c082b4407b1e217ee36f50498615602e57bf3
tree27b575cb01b26cd3f939f83844613cd39d13c2c6
parent282a9684ab6f176e830665ca1071a85d59bb6665
parent208e23ea47ad71c20246ff234efa3abc8080513f
Merge branch 'rs/add-patch-options-fix'

The code in "git add -p" and friends to iterate over hunks was
riddled with bugs, which has been corrected.

* rs/add-patch-options-fix:
  add-patch: reset "permitted" at loop start
  add-patch: let options a and d roll over like y and n
  add-patch: let options k and K roll over like j and J
  add-patch: let options y, n, j, and e roll over to next undecided
  add-patch: document that option J rolls over
  add-patch: improve help for options j, J, k, and K
add-patch.c
t/t3701-add-interactive.sh