Mercurial > dotfiles.old
changeset 31:faf7781dae42
Only show conflict markers when more than 3 <
author | zegervdv <zegervdv@me.com> |
---|---|
date | Tue, 01 Apr 2014 20:56:02 +0200 |
parents | 7dfc911400a3 |
children | 2da8d8daa033 |
files | bin/git-conflict |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/git-conflict Tue Apr 01 20:50:06 2014 +0200 +++ b/bin/git-conflict Tue Apr 01 20:56:02 2014 +0200 @@ -12,7 +12,7 @@ open FILE, "$file" or die $!; my @lines = <FILE>; for $i (keys @lines) { - if ($lines[$i] =~ /\<{2,}/) { + if ($lines[$i] =~ /\<{3,}/) { $linenr = $i + 1; print color("blue"), "$file", color("reset"); print ":";