You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a clone of the phoronix-test-suite repository with no modifications of my own and it is currently a few commits behind upstream. The following gitk screenshot shows the situation:
With git if I run git merge origin/master from this situation it will do a fast forward and just update the master branch to point to exactly the same as origin/master. When I ran git-sim merge origin/master it produced the following result:
which incorrectly suggest that a merge commit would be created. If I try to force fast forward git-sim complains:
@hlovdal Thanks for reporting this and for the super detailed description! I was able to reproduce this on my end - it looks like a bug when merging from a remote tracking branch. You're right it should just do the fast forward by default and if the user wants to supply the --no-ff then it will create the merge commit.
I will dig deeper today and hopefully resolve this in a new release tonight.
(fyi regular fast forward merges between two non remote-tracking branches work and are something I tested, but didn't test merging a remote-tracking branch :D)
@hlovdal Just pushed a fix for this in git-sim 0.1.7. Remote tracking branches can now be merged as a fast-forward and remote tracking branch names will also display in commands that traverse history like git-sim log.
Please upgrade to git-sim 0.1.7 by running:
pip install git-sim --upgrade
Then test it out and let me know if it works for you! =D
I have a clone of the phoronix-test-suite repository with no modifications of my own and it is currently a few commits behind upstream. The following gitk screenshot shows the situation:
With git if I run
git merge origin/master
from this situation it will do a fast forward and just update themaster
branch to point to exactly the same asorigin/master
. When I rangit-sim merge origin/master
it produced the following result:which incorrectly suggest that a merge commit would be created. If I try to force fast forward git-sim complains:
I installed (latest) git-sim for the first time today with pip, Fedora 36.
The text was updated successfully, but these errors were encountered: