Merge branch 'jk/error-resolve-conflict-advice'
* jk/error-resolve-conflict-advice: error_resolve_conflict: drop quotations around operation error_resolve_conflict: rewrap advice message
This commit is contained in:
commit
d0d5ba7e6e
9
advice.c
9
advice.c
@ -76,16 +76,15 @@ int git_default_advice_config(const char *var, const char *value)
|
|||||||
|
|
||||||
int error_resolve_conflict(const char *me)
|
int error_resolve_conflict(const char *me)
|
||||||
{
|
{
|
||||||
error("'%s' is not possible because you have unmerged files.", me);
|
error("%s is not possible because you have unmerged files.", me);
|
||||||
if (advice_resolve_conflict)
|
if (advice_resolve_conflict)
|
||||||
/*
|
/*
|
||||||
* Message used both when 'git commit' fails and when
|
* Message used both when 'git commit' fails and when
|
||||||
* other commands doing a merge do.
|
* other commands doing a merge do.
|
||||||
*/
|
*/
|
||||||
advise(_("Fix them up in the work tree,\n"
|
advise(_("Fix them up in the work tree, and then use 'git add/rm <file>'\n"
|
||||||
"and then use 'git add/rm <file>' as\n"
|
"as appropriate to mark resolution and make a commit, or use\n"
|
||||||
"appropriate to mark resolution and make a commit,\n"
|
"'git commit -a'."));
|
||||||
"or use 'git commit -a'."));
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user