summaryrefslogtreecommitdiff
path: root/pack-redundant.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-06-03 03:17:17 -0400
committerJunio C Hamano <gitster@pobox.com>2014-06-03 10:04:19 -0700
commitc057b2424a479a2219666f3806c0dd93867ca5c9 (patch)
treea3bb1390144ddcde15d4ba7b79e36a3eacf51968 /pack-redundant.c
parent7bbc4e8fdb33e0a8e42e77cc05460d4c4f615f4d (diff)
downloadgit-c057b2424a479a2219666f3806c0dd93867ca5c9.tar.gz
error_resolve_conflict: rewrap advice message
If you try to commit with unresolved conflicts in the index, you get this message: $ git commit U foo error: 'commit' is not possible because you have unmerged files. hint: Fix them up in the work tree, hint: and then use 'git add/rm <file>' as hint: appropriate to mark resolution and make a commit, hint: or use 'git commit -a'. fatal: Exiting because of an unresolved conflict. The irregular line-wrapping makes this awkward to read, and it takes up more lines than necessary. Instead, let's rewrap it to about 60 characters per line: $ git commit U foo error: 'commit' is not possible because you have unmerged files. hint: Fix them up in the work tree, and then use 'git add/rm <file>' hint: as appropriate to mark resolution and make a commit, or use hint: 'git commit -a'. fatal: Exiting because of an unresolved conflict. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-redundant.c')
0 files changed, 0 insertions, 0 deletions