diff options
author | Peter Wu <lekensteyn@gmail.com> | 2013-11-22 20:04:07 +0100 |
---|---|---|
committer | Peter Wu <lekensteyn@gmail.com> | 2013-11-22 20:04:07 +0100 |
commit | 8a7fc4cce342c178260869e20913aced8994826a (patch) | |
tree | 6f610aca413643f61b421ad91e163d3c51bfa390 /git-log-describe.awk | |
parent | 0aead04cb732d55c584c1235dd59d15a02d54461 (diff) | |
download | scripts-8a7fc4cce342c178260869e20913aced8994826a.tar.gz |
git-log-describe: match more color escapes
Some commits failed to match in an decorated log because they used
a bold-face color (like `\e[1;94m`).
Diffstat (limited to 'git-log-describe.awk')
-rwxr-xr-x | git-log-describe.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-log-describe.awk b/git-log-describe.awk index 579b06d..c4f7fee 100755 --- a/git-log-describe.awk +++ b/git-log-describe.awk @@ -16,7 +16,7 @@ function has_color(str) { { is_color = has_color($0); # strip color escapes for easier text matching - gsub(/\033\[[0-9]*m/, ""); + gsub(/\033\[[0-9;]*m/, ""); text_len = length($0); # remove --graph markers |