Ben Wijen writes:
> Consider the following scenario:
> git checkout not-the-master
> work work work
> git rebase --autostash upstream master
>
> Here 'rebase --autostash ' incorrectly moves the
> upstream branch to master.
>
> The expected behavior: (58794775:/git-rebase.sh:526)
>
On Tue, Aug 20, 2019 at 4:12 PM Ben Wijen wrote:
> diff --git a/t/t3420-rebase-autostash.sh b/t/t3420-rebase-autostash.sh
> @@ -306,4 +302,13 @@ test_expect_success 'branch is left alone when possible'
> '
> +test_expect_success 'never change upstream branch' '
> + test_when_finished "git r
Consider the following scenario:
git checkout not-the-master
work work work
git rebase --autostash upstream master
Here 'rebase --autostash ' incorrectly moves the
upstream branch to master.
The expected behavior: (58794775:/git-rebase.sh:526)
AUTOSTASH=$(git stash create autosta
3 matches
Mail list logo