Merge branch 'jc/unpack-trees-reword'
* jc/unpack-trees-reword: unpack-trees: allow Porcelain to give different error messages
This commit is contained in:
@ -236,6 +236,8 @@ static int merge_working_tree(struct checkout_opts *opts,
|
||||
topts.src_index = &the_index;
|
||||
topts.dst_index = &the_index;
|
||||
|
||||
topts.msgs.not_uptodate_file = "You have local changes to '%s'; cannot switch branches.";
|
||||
|
||||
refresh_cache(REFRESH_QUIET);
|
||||
|
||||
if (unmerged_cache()) {
|
||||
|
||||
Reference in New Issue
Block a user