Giter Club home page Giter Club logo

Comments (3)

robfig avatar robfig commented on August 14, 2024

Thanks for pointing that out, as long as it's easy to get the log of changes between the two commits it should be easy to the post-rewrite hook... pull requests accepted of course :)

I think syncing on every checkout would be a little bit overkill though - changing dependency versions between branches happens pretty infrequently, at least in my normal work.

from glock.

bdarnell avatar bdarnell commented on August 14, 2024

We're testing a post-rewrite hook here: https://github.com/cockroachdb/cockroach/blob/172d47bbc808af1f986bb7cd257b2c310dd2ef63/githooks/post-rewrite. I'll send a PR once we've had a little more experience with it.

Changing versions between branches doesn't happen frequently, but it does happen and when it does it often breaks the build unless you manually sync. An extra git log call per checkout seems like a small price to pay to me.

from glock.

robfig avatar robfig commented on August 14, 2024

Cool!

Oh, I understood your suggestion to be to blindly glock sync on every checkout. If it's only when there was actually a change to the GLOCKFILE like the other operations, I agree

from glock.

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.