Giter Club home page Giter Club logo

Comments (4)

przemoc avatar przemoc commented on June 12, 2024

@vtolstov, could you elaborate?

git doesn't offer pre/post checkout hooks or something like that, so it's up to the user to save (and commit or stash) or restore perms before or after swtiching branches. Or you're talking about something else?

from metastore.

vtolstov avatar vtolstov commented on June 12, 2024

I have .metastore file that contains some data. After i switch branch and commit something, metastore modify file. And after switch back - i have many new dirs, perm, files for example.

from metastore.

przemoc avatar przemoc commented on June 12, 2024

Firstly, I was wrong and there is post-checkout hook. Sorry for writing previous comment without checking it carefully. Secondly, I haven't used metastore within git yet to be honest (as I was simply using it outside of any VCS; that's why my first need to patch it came), so I'll have to ask you to provide more details (1). Then I'll be able to accept your request and create proper enhancement issues.

What's your metastore setup within repository? Your metastore's metadata file is committed there, right? What hooks related to metastore are you already using while working within repository?

(1) I'll check myself too how it is used within git and try to improve metastore for git usage, I even created topic issue for that already


Mind that metastore alone has no notion of branches and I dare to say it shouldn't ever have it, but we can try to improve side tooling (like examplary git hooks) and add features necessary to handle common cases unsupported without them.

from metastore.

przemoc avatar przemoc commented on June 12, 2024

I believe that the matter has been fixed for some time (to the extent that git hooks allow). Just now I only improved it further a little (in 95921e7). Please check a warning in the comments of pre-commit hook, though.

@vtolstov Please check how the hook scripts work for you now.

from metastore.

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.