git/branch: stop emitting incorrect 'merge failed' messages

This commit is contained in:
Ori Bernstein 2024-12-14 05:32:05 +00:00
parent 473ebd0f9e
commit 2f685dd96b

View file

@ -114,8 +114,9 @@ for(m in $cleanpaths){
for(ours in $dirtypaths){
common=$gitfs/object/$orig/tree/$ours
theirs=$gitfs/object/$base/tree/$ours
merge1 $ours $ours $common $theirs || st=$status
if(! ~ $#st 1)
merge1 $ours $ours $common $theirs
st=$status
if(! ~ $st '')
>[1=2] echo merge failed $ours: $st
}
if(~ $new */*)