[PATCH] gitk: pretty print tag objects

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

 



Currently, tag objects are shown as the raw tag object contents.  By
pretty printing them, the time stamp is shown in a more readable
format (and this is actually the only difference to the raw format).

Signed-off-by: Sven Marnach <sven.marnach@xxxxxxxxxxxxxxxxxxxxx>
---
 gitk-git/gitk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gitk-git/gitk b/gitk-git/gitk
index 84ab02e..4581893 100644
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
@@ -7843,7 +7843,7 @@ proc showtag {tag isnew} {
     set linknum 0
     if {![info exists tagcontents($tag)]} {
 	catch {
-	    set tagcontents($tag) [exec git cat-file tag $tagobjid($tag)]
+	    set tagcontents($tag) [exec git cat-file -p $tagobjid($tag)]
 	}
     }
     if {[info exists tagcontents($tag)]} {
-- 
debian.1.5.5_rc2.1

--
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]

  Powered by Linux