commit | 4c8416847aa48e2bd60fa26585e32940a1a9c61c | [log] [tgz] |
---|---|---|
author | Wincent Colaiuta <win@wincent.com> | Thu Nov 22 02:36:24 2007 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Nov 22 02:53:40 2007 -0800 |
tree | 0385de75506e2df2ae517a2ac337c12dfba73c68 | |
parent | 7c0ab4458994aa895855abc4a504cf693ecc0cf1 [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>