]> git.ipfire.org Git - thirdparty/git.git/commit - git-add--interactive.perl
Add 'g' command to go to a hunk
authorWilliam Pursell <bill.pursell@gmail.com>
Thu, 4 Dec 2008 10:22:40 +0000 (10:22 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Dec 2008 01:59:45 +0000 (17:59 -0800)
commit070434d02b96ae0fac0a3364c202136f5eb5a7a9
tree887ffeb9c2d9d4fd2c7e16dec96c00f04c9552c5
parent3f6aff68896f8490e101eb5c4ad8f0fa5b8b67bb
Add 'g' command to go to a hunk

When a minor change is made while the working directory is in a bit of a
mess, it is somewhat difficult to wade through all of the hunks using git
add --patch.  This allows one to jump to the hunk that needs to be staged
without having to respond 'n' to each preceding hunk.

Signed-off-by: William Pursell <bill.pursell@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl