mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
git/branch: stop emitting incorrect 'merge failed' messages
This commit is contained in:
parent
473ebd0f9e
commit
2f685dd96b
1 changed files with 3 additions and 2 deletions
|
@ -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 */*)
|
||||
|
|
Loading…
Reference in a new issue