[gitk PATCH] gitk: Disable log.decorate config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since eb73445 (Add `log.decorate' configuration variable., 2010-02-17)
the log output changes if log.decorate is set. Gitk is unable to
understand the new output (it returns the error: "Can't parse git log
output: {commit $sha1 $sha2...}), so disable it with --no-decorate.

Signed-off-by: Santi Béjar <santi@xxxxxxxxxxx>
---
 gitk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gitk b/gitk
index 1f36a3e..aca44b7 100755
--- a/gitk
+++ b/gitk
@@ -362,7 +362,7 @@ proc start_rev_list {view} {
 
     if {[catch {
 	set fd [open [concat | git log --no-color -z --pretty=raw --parents \
-			 --boundary $args "--" $files] r]
+			 --boundary --no-decorate $args "--" $files] r]
     } err]} {
 	error_popup "[mc "Error executing git log:"] $err"
 	return 0
-- 
1.7.0.2.384.g015e

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]