]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jn/cherry-revert-message-clean-up'
authorJunio C Hamano <gitster@pobox.com>
Tue, 31 Aug 2010 23:25:11 +0000 (16:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Aug 2010 23:25:11 +0000 (16:25 -0700)
* jn/cherry-revert-message-clean-up:
  tests: fix syntax error in "Use advise() for hints" test
  cherry-pick/revert: Use advise() for hints
  cherry-pick/revert: Use error() for failure message
  Introduce advise() to print hints
  Eliminate “Finished cherry-pick/revert” message
  t3508: add check_head_differs_from() helper function and use it
  revert: improve success message by adding abbreviated commit sha1
  revert: don't print "Finished one cherry-pick." if commit failed
  revert: refactor commit code into a new run_git_commit() function
  revert: report success when using option --strategy

1  2 
builtin/revert.c
git-rebase--interactive.sh

Simple merge
index 4d14b077d22ac030956fa686b637ac86763f05c0,8f6876d3019939c6f4c4f5433abaa5fb7e43151f..eb2dff55f81b6726340ce26db93bb161087a4857
@@@ -111,12 -111,11 +111,12 @@@ VERBOSE
  OK_TO_SKIP_PRE_REBASE=
  REBASE_ROOT=
  AUTOSQUASH=
 +test "$(git config --bool rebase.autosquash)" = "true" && AUTOSQUASH=t
  NEVER_FF=
  
- GIT_CHERRY_PICK_HELP="  After resolving the conflicts,
- mark the corrected paths with 'git add <paths>', and
- run 'git rebase --continue'"
+ GIT_CHERRY_PICK_HELP="\
+ hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' and run 'git rebase --continue'"
  export GIT_CHERRY_PICK_HELP
  
  warn () {