Merge branch 'jk/merge-file-exit-code'
"git merge-file" tried to signal how many conflicts it found, which obviously would not work well when there are too many of them. * jk/merge-file-exit-code: merge-file: clamp exit code to maximum 127
This commit is contained in:
@ -104,5 +104,8 @@ int cmd_merge_file(int argc, const char **argv, const char *prefix)
|
||||
free(result.ptr);
|
||||
}
|
||||
|
||||
if (ret > 127)
|
||||
ret = 127;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user