diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-08-11 03:37:24 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-15 19:12:07 -0700 |
commit | 981ff5c37ae20687c98d98c8689d5e89016026d2 (patch) | |
tree | 868d1a043744c3eb2b744618038fc921fbcae1e5 /builtin/upload-archive.c | |
parent | Introduce advise() to print hints (diff) | |
download | tgif-981ff5c37ae20687c98d98c8689d5e89016026d2.tar.xz |
cherry-pick/revert: Use error() for failure message
When cherry-pick fails after picking a large series of commits, it can
be hard to pick out the error message and advice. Clarify the error
and prefix it with “error: ” to help.
Before:
Automatic cherry-pick failed. [...advice...]
After:
error: could not apply 7ab78c9... Do something neat.
[...advice...]
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 'builtin/upload-archive.c')
0 files changed, 0 insertions, 0 deletions