Code

Status view: limit untracked file by the prefix/subdirectory
authorJonas Fonseca <jonas.fonseca@savoirfairelinux.com>
Tue, 15 Dec 2009 15:40:41 +0000 (10:40 -0500)
committerJonas Fonseca <jonas.fonseca@savoirfairelinux.com>
Tue, 15 Dec 2009 15:42:52 +0000 (10:42 -0500)
This reinstates the original behavior reverted in commit
e7d0ebc0ec190e3a07fc28a2f551426e34a1ee6e.

tig.c

diff --git a/tig.c b/tig.c
index 0a93ad204bfa51a66449893f0b13fc73b0419ad7..602c8678614339d8ad6310f6ee158c4063ec25f6 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -5450,7 +5450,7 @@ static const char *status_diff_files_argv[] = {
 };
 
 static const char *status_list_other_argv[] = {
-       "git", "ls-files", "-z", "--others", "--exclude-standard", NULL
+       "git", "ls-files", "-z", "--others", "--exclude-standard", opt_prefix, NULL
 };
 
 static const char *status_list_no_head_argv[] = {