Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  test-lib.sh/test_decode_color(): use octal not hex in awk script
  • Loading branch information
Junio C Hamano committed Dec 23, 2010
2 parents 19128d6 + c2ed29b commit 4e3a1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ test_decode_color () {
if (n == 47) return "BWHITE";
}
{
while (match($0, /\x1b\[[0-9;]*m/) != 0) {
while (match($0, /\033\[[0-9;]*m/) != 0) {
printf "%s<", substr($0, 1, RSTART-1);
codes = substr($0, RSTART+2, RLENGTH-3);
if (length(codes) == 0)
Expand Down

0 comments on commit 4e3a1b2

Please sign in to comment.