summaryrefslogtreecommitdiff
path: root/git-add--interactive.perl
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2007-11-15 02:04:30 -0500
committerJunio C Hamano <gitster@pobox.com>2007-11-15 22:24:10 -0800
commit8e7b07c8a776c401ff5c4adb593f423a754d198c (patch)
tree8fd450fff043c5c7521bd2b547d2cb6efb6f31c8 /git-add--interactive.perl
parenta777e9ca54b5801266486a16dc0d25c82b38014d (diff)
downloadgit-8e7b07c8a776c401ff5c4adb593f423a754d198c.tar.gz
git-ls-files: add --exclude-standard
This provides a way for scripts to get at the new standard exclude function. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-add--interactive.perl')
-rwxr-xr-xgit-add--interactive.perl5
1 files changed, 1 insertions, 4 deletions
diff --git a/git-add--interactive.perl b/git-add--interactive.perl
index ac598f88e6..0317ad9127 100755
--- a/git-add--interactive.perl
+++ b/git-add--interactive.perl
@@ -37,10 +37,7 @@ sub list_untracked {
chomp $_;
$_;
}
- run_cmd_pipe(qw(git ls-files --others
- --exclude-per-directory=.gitignore),
- "--exclude-from=$GIT_DIR/info/exclude",
- '--', @_);
+ run_cmd_pipe(qw(git ls-files --others --exclude-standard --), @_);
}
my $status_fmt = '%12s %12s %s';