Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rebase: use explicit "--" with checkout
[gitweb.git]
/
git-rebase.sh
diff --git
a/git-rebase.sh
b/git-rebase.sh
index 6a7e5e0b1884358566544cc8cd0d94c941dac5fc..1f42fb75e74fde6e7fba8b7694b227700417c0c3 100755
(executable)
--- a/
git-rebase.sh
+++ b/
git-rebase.sh
@@
-522,7
+522,7
@@
then
if test -z "$force_rebase"
then
# Lazily switch to the target branch if needed...
- test -z "$switch_to" || git checkout "$switch_to"
+ test -z "$switch_to" || git checkout "$switch_to"
--
say "Current branch $branch_name is up to date."
exit 0
else