mirror of
https://github.com/git/git.git
synced 2025-01-24 00:14:15 +08:00
gitk: disable colours when calling git log
If the user specifies 'diff.color = 1' in their configuration file, then gitk will not start. Disable colours when calling git log. Signed-off-by: Sam Vilain <sam.vilain@catalyst.net.nz> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
719c2b9d92
commit
0166419a19
2
gitk
2
gitk
@ -92,7 +92,7 @@ proc start_rev_list {view} {
|
||||
set order "--date-order"
|
||||
}
|
||||
if {[catch {
|
||||
set fd [open [concat | git log -z --pretty=raw $order --parents \
|
||||
set fd [open [concat | git log --no-color -z --pretty=raw $order --parents \
|
||||
--boundary $viewargs($view) "--" $viewfiles($view)] r]
|
||||
} err]} {
|
||||
error_popup "Error executing git rev-list: $err"
|
||||
|
Loading…
Reference in New Issue
Block a user