summaryrefslogtreecommitdiff
path: root/log-tree.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-08-11 08:37:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-16 02:12:08 (GMT)
commit314eeb6e483350cc7ef0bee0498ff24a12346495 (patch)
tree2411b1879f3099e75ac5a20af968770f77e6f144 /log-tree.h
parent981ff5c37ae20687c98d98c8689d5e89016026d2 (diff)
downloadgit-314eeb6e483350cc7ef0bee0498ff24a12346495.zip
git-314eeb6e483350cc7ef0bee0498ff24a12346495.tar.gz
git-314eeb6e483350cc7ef0bee0498ff24a12346495.tar.bz2
cherry-pick/revert: Use advise() for hints
When cherry-pick fails after picking a large series of commits, it can be hard to pick out the error message and advice. Prefix the advice with “hint: ” to help. Before: error: could not apply 7ab78c9... foo After resolving the conflicts, mark the corrected paths with 'git add <paths>' or 'git rm <paths>' and commit the result with: git commit -c 7ab78c9a7898b87127365478431289cb98f8d98f After: error: could not apply 7ab78c9... foo hint: after resolving the conflicts, mark the corrected paths hint: with 'git add <paths>' or 'git rm <paths>' hint: and commit the result with 'git commit -c 7ab78c9' Noticed-by: Thomas Rast <trast@student.ethz.ch> Encouraged-by: Sverre Rabbelier <srabbelier@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'log-tree.h')
0 files changed, 0 insertions, 0 deletions