From 8e7b07c8a776c401ff5c4adb593f423a754d198c Mon Sep 17 00:00:00 2001 From: Jeff King Date: Thu, 15 Nov 2007 02:04:30 -0500 Subject: 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 Signed-off-by: Junio C Hamano --- git-add--interactive.perl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'git-add--interactive.perl') 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'; -- cgit v1.3