X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-rebase.sh;h=ff66af3ba8348ff86b25c91a1875b93f885a048c;hb=5d921e2931e5041884d8f86fdccc9004a7b071cc;hp=6b9af962a9cee734510518e82cf2537441ed843a;hpb=7ab9f8f8b12853d4cb0e45031bf2ee9a0517ad22;p=git.git diff --git a/git-rebase.sh b/git-rebase.sh index 6b9af962a..ff66af3ba 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -18,8 +18,7 @@ original and remove the .dotest working files, use the command git rebase --abort instead. Note that if is not specified on the command line, the -currently checked out branch is used. You must be in the top -directory of your project to start (or continue) a rebase. +currently checked out branch is used. Example: git-rebase master~1 topic @@ -376,7 +375,7 @@ fi if test -z "$do_merge" then git format-patch -k --stdout --full-index --ignore-if-in-upstream "$upstream"..ORIG_HEAD | - git am $git_am_opt --binary -3 -k --resolvemsg="$RESOLVEMSG" && + git am $git_am_opt --rebasing --resolvemsg="$RESOLVEMSG" && move_to_original_branch ret=$? test 0 != $ret -a -d .dotest &&