Giter VIP home page Giter VIP logo

Comments (5)

calvn avatar calvn commented on July 4, 2024

We will need to add test coverage for this case as well as the one mentioned in #80 regarding branch switching.

from git2consul.

robottaway avatar robottaway commented on July 4, 2024

Ok I can take a look later tonight and report back. I will look into #80 also.

from git2consul.

jtambolic1 avatar jtambolic1 commented on July 4, 2024

I wonder if passing --no-renames in https://github.com/Cimpress-MCP/git2consul/blob/master/lib/git/commands.js#L86 would solve this, since it should show filename1 being removed and filename2 being added. I don't know how to write node, or I'd submit a PR.

from git2consul.

breser avatar breser commented on July 4, 2024

I just added the --no-renames flag to that line to resolve the fact that the test suite was now failing on Travis CI since they'd upgraded to git 2.13.0 from 1.9.1 where it was before. I suspect that @calvn's test was catching the root cause of this. @robottaway can you verify which version of git you were using git2consul with and possibly retest with the code in the master branch?

from git2consul.

sgrimm-sg avatar sgrimm-sg commented on July 4, 2024

As a workaround until this fix is released, you can add

[diff]
        renames = false

to .git/config in the repo that git2consul monitors.

from git2consul.

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.