diff options
author | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2014-02-26 10:43:50 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2014-02-26 10:43:50 +0000 |
commit | d997a25c2a9233f2e63d3a095d0acd669c17ea79 (patch) | |
tree | 06733c8e19a4b29ecdb1bfb11c7ba107976cbeef /git-logc | |
parent | add timestamp to prompt (diff) | |
download | git-prompt-d997a25c2a9233f2e63d3a095d0acd669c17ea79.tar.gz git-prompt-d997a25c2a9233f2e63d3a095d0acd669c17ea79.tar.bz2 git-prompt-d997a25c2a9233f2e63d3a095d0acd669c17ea79.zip |
fix tag ref cleanup
Diffstat (limited to 'git-logc')
-rwxr-xr-x | git-logc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/}{}) { |