"git rebase" behavior change in 2.26.0
- From
- Norbert Kiesel <nkiesel@gmail.com>
- Date
- Mar 25, 2020, 03:38 UTC
- Message-ID
- <CAM+g_Nuu2jGuNwUMS3j8=EjOrthYzfVTrUzOxQJ=aYcoBAL3Tg@mail.gmail.com>
Hi,
I track an upstream repo with "pull.rebase = true" where I do a `git pull` followed by a `git log -p ORIG_HEAD..` for a branch to see changes since the last "pull". I normally do not commit to this branch and thus this normally is a "fast-forward" merge.
Starting with 2.26 this no longer works because ORIG_HEAD is always set to HEAD after my `git pull`.
I track other prances from the same repo where I do local changes and then want the `git pull --rebase` and I thus do not want to give up on the `pull.rebase = true` configuration.