]> git.ipfire.org Git - thirdparty/git.git/commit
built-in add -p: implement the 'q' ("quit") command
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 13 Dec 2019 08:08:04 +0000 (08:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Dec 2019 20:37:14 +0000 (12:37 -0800)
commitade246efed509a68348901e7a085ceb55915bfea
tree1c3ae6b4497b2a5b18f739b48a7a95183886bc51
parentd6cf873340703098f2d7f54be457e4db1b32cf7b
built-in add -p: implement the 'q' ("quit") command

This command is actually very similar to the 'd' ("do not stage this
hunk or any of the later hunks in the file") command: it just does
something on top, namely leave the loop and return a value indicating
that we're quittin'.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-patch.c