Skip to content

Commit

Permalink
Merge branch 'jk/error-resolve-conflict-advice'
Browse files Browse the repository at this point in the history
* jk/error-resolve-conflict-advice:
  error_resolve_conflict: drop quotations around operation
  error_resolve_conflict: rewrap advice message
  • Loading branch information
Junio C Hamano committed Jun 16, 2014
2 parents 57a2eee + d795216 commit d0d5ba7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions advice.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,15 @@ int git_default_advice_config(const char *var, const char *value)

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)
/*
* Message used both when 'git commit' fails and when
* other commands doing a merge do.
*/
advise(_("Fix them up in the work tree,\n"
"and then use 'git add/rm <file>' as\n"
"appropriate to mark resolution and make a commit,\n"
"or use 'git commit -a'."));
advise(_("Fix them up in the work tree, and then use 'git add/rm <file>'\n"
"as appropriate to mark resolution and make a commit, or use\n"
"'git commit -a'."));
return -1;
}

Expand Down

0 comments on commit d0d5ba7

Please sign in to comment.