Merge branch 'maint'

* maint:
  rebase -i: clarify in-editor documentation of "exec"
  tests: sanitize more git environment variables
  fast-import: treat filemodify with empty tree as delete
  rebase: give a better error message for bogus branch
  rebase: use explicit "--" with checkout

Conflicts:
	t/t9300-fast-import.sh
This commit is contained in:
Junio C Hamano
2011-01-27 10:27:49 -08:00
5 changed files with 55 additions and 3 deletions

View File

@ -894,7 +894,7 @@ first and then run 'git rebase --continue' again."
if test ! -z "$1"
then
output git checkout "$1" ||
output git checkout "$1" -- ||
die "Could not checkout $1"
fi
@ -1021,7 +1021,7 @@ first and then run 'git rebase --continue' again."
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x <cmd>, exec <cmd> = Run a shell command <cmd>, and stop if it fails
# x, exec = run command (the rest of the line) using shell
#
# If you remove a line here THAT COMMIT WILL BE LOST.
# However, if you remove everything, the rebase will be aborted.