From d997a25c2a9233f2e63d3a095d0acd669c17ea79 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Wed, 26 Feb 2014 10:43:50 +0000 Subject: fix tag ref cleanup --- git-logc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-logc b/git-logc index a38a827..147b1e3 100755 --- a/git-logc +++ b/git-logc @@ -24,7 +24,7 @@ sub class_decor { if ($decor eq 'HEAD') { $colour=BRIGHT_CYAN; } - elsif ($decor =~ s{^refs/tags/}{tag: }) { + elsif ($decor =~ s{^(?:tag: )?refs/tags/}{tag: }) { $colour=BRIGHT_YELLOW; } elsif ($decor =~ s{^refs/remotes/}{}) { -- cgit v1.2.3