diff options
author | Sam Vilain <sam.vilain@catalyst.net.nz> | 2007-10-17 02:33:04 +0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-10-17 11:44:28 +0400 |
commit | 0166419a197cea0ceef3aed8c72023deb015ecf4 (patch) | |
tree | aeb7d10a776a98a05e67b2ba140e39c7159a18d7 /gitk | |
parent | 719c2b9d926bf2be4879015e3620d27d32f007b6 (diff) |
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>
Diffstat (limited to 'gitk')
-rwxr-xr-x | gitk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |