author | Wincent Colaiuta <win@wincent.com> | |
Thu, 22 Nov 2007 01:36:24 +0000 (02:36 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 22 Nov 2007 10:53:40 +0000 (02:53 -0800) | ||
commit | 4c8416847aa48e2bd60fa26585e32940a1a9c61c | |
tree | 0385de75506e2df2ae517a2ac337c12dfba73c68 | tree | snapshot |
parent | 7c0ab4458994aa895855abc4a504cf693ecc0cf1 | commit | diff |
Add path-limiting to git-add--interactive
Implement Junio's suggestion that git-add--interactive should reproduce the
path-limiting semantics of non-interactive git-add.
In otherwords, if "git add -i" (unrestricted) shows paths from a set A,
"git add -i paths..." should show paths from a subset of the set A and that
subset should be defined with the existing ls-files pathspec semantics.
Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Implement Junio's suggestion that git-add--interactive should reproduce the
path-limiting semantics of non-interactive git-add.
In otherwords, if "git add -i" (unrestricted) shows paths from a set A,
"git add -i paths..." should show paths from a subset of the set A and that
subset should be defined with the existing ls-files pathspec semantics.
Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl | diff | blob | history |