summaryrefslogtreecommitdiff
path: root/git-instaweb.sh
diff options
context:
space:
mode:
authorWincent Colaiuta <win@wincent.com>2007-11-25 13:15:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-11-25 19:37:55 (GMT)
commitb63e99500137c913bd801a2f22b6cf88c63b95c5 (patch)
tree68a58fb97935f35c6fb7bcbcfed73b1697db000a /git-instaweb.sh
parent3f061887c562b20d3ed3d1f764462cf986a1ad12 (diff)
downloadgit-b63e99500137c913bd801a2f22b6cf88c63b95c5.zip
git-b63e99500137c913bd801a2f22b6cf88c63b95c5.tar.gz
git-b63e99500137c913bd801a2f22b6cf88c63b95c5.tar.bz2
Add "--patch" option to git-add--interactive
When the "--patch" option is supplied, the patch_update_cmd() function is called bypassing the main_loop() and exits. Seeing as builtin-add is the only caller of git-add--interactive we can impose a strict requirement on the format of the arguments to avoid possible ambiguity: an "--" argument must be used whenever any pathspecs are passed, both with the "--patch" option and without it. Signed-off-by: Wincent Colaiuta <win@wincent.com>
Diffstat (limited to 'git-instaweb.sh')
0 files changed, 0 insertions, 0 deletions