summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 360cc10)
raw | patch | inline | side by side (parent: 360cc10)
author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 29 Jul 2007 07:22:27 +0000 (03:22 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 29 Jul 2007 07:22:27 +0000 (03:22 -0400) |
Recent git versions have a git-status that honors the core.excludesfile
configuration option when it reports on untracked files. Unfortunately
I missed the introduction of this configuration option in the core
porcelain implementation, so it was not reflected here in git-gui.
Found and reported by Lars Noschinski <lars@public.noschinski.de>.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
configuration option when it reports on untracked files. Unfortunately
I missed the introduction of this configuration option in the core
porcelain implementation, so it was not reflected here in git-gui.
Found and reported by Lars Noschinski <lars@public.noschinski.de>.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index d7fad46e5ed7ced3989895678851025db57b5ecf..4e3b58cfd396abcf6c2f607c7226c2bba3d39568 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
if {[file readable $info_exclude]} {
lappend ls_others "--exclude-from=$info_exclude"
}
+ set user_exclude [get_config core.excludesfile]
+ if {$user_exclude ne {} && [file readable $user_exclude]} {
+ lappend ls_others "--exclude-from=$user_exclude"
+ }
set buf_rdi {}
set buf_rdf {}