El 7/12/2007, a las 13:35, Wincent Colaiuta escribió:
@@ -662,8 +648,10 @@ sub split_hunk { (($n_cnt != 1) ? ",$n_cnt" : '') . " @@\n"); unshift @{$hunk->{TEXT}}, $head; + unshift @{$hunk->{DISPLAY}}, + $use_color ? (colored $fraginfo_color, $head) : $head; } - return map { $_->{TEXT} } @split; + return @split; }
Actually, $diff_use_color would probably be more appropriate than $use_color above.
Wincent - 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