author | Jeff King <peff@peff.net> | |
Thu, 27 Mar 2008 07:32:25 +0000 (03:32 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 27 Mar 2008 20:54:57 +0000 (13:54 -0700) | ||
commit | ca7246864b43e9ea1922cc5386225ecd1b3bdd98 | |
tree | 9f38aee689bd5301e247ae146d6e8d6270bed335 | tree | snapshot |
parent | b717a627629e6886956af54274d507b9711d49e6 | commit | diff |
add--interactive: allow user to choose mode update
When using the 'p'atch command, instead of just throwing out any mode
change, present it to the user in the same way that we show hunks.
This way, the mode change can be staged independently from the changes
to the contents.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When using the 'p'atch command, instead of just throwing out any mode
change, present it to the user in the same way that we show hunks.
This way, the mode change can be staged independently from the changes
to the contents.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl | diff | blob | history | |
t/t3701-add-interactive.sh | diff | blob | history |