Files
git/builtin
Jonathan Nieder 314eeb6e48 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>
2010-08-15 19:12:08 -07:00
..
2010-06-27 12:07:55 -07:00
2010-06-21 06:02:47 -07:00
2010-06-27 12:07:55 -07:00
2010-06-21 06:02:44 -07:00
2010-06-18 11:16:53 -07:00
2010-07-15 12:08:25 -07:00
2010-06-07 22:15:31 -07:00
2010-07-15 12:07:18 -07:00
2010-06-30 11:55:40 -07:00
2010-06-18 11:16:54 -07:00
2010-06-28 17:42:26 -07:00
2010-07-15 12:08:36 -07:00
2010-06-12 09:39:06 -07:00
2010-07-07 11:18:26 -07:00