Giter Site home page Giter Site logo

Explicit `merge --ff` is not supported, and a plain `merge` that would fast forward is incorrectly projected to create a merge commit about git-sim HOT 4 CLOSED

initialcommit-com avatar initialcommit-com commented on May 17, 2024
Explicit `merge --ff` is not supported, and a plain `merge` that would fast forward is incorrectly projected to create a merge commit

from git-sim.

Comments (4)

initialcommit-io avatar initialcommit-io commented on May 17, 2024

@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.

from git-sim.

initialcommit-io avatar initialcommit-io commented on May 17, 2024

(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)

from git-sim.

initialcommit-io avatar initialcommit-io commented on May 17, 2024

@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

from git-sim.

hlovdal avatar hlovdal commented on May 17, 2024

Looks good.

from git-sim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.