Code Monkey home page Code Monkey logo

Comments (3)

jpgrayson avatar jpgrayson commented on September 1, 2024 1

Sorry for this delayed response.

To clarify: the old metadata system uses files found under .git/patches. The new metadata system uses git objects in the .stgit branches. This is contrary to your guess above.

Regarding the idea of using a non-branch ref for the log (metadata), this is actually something I have been considering doing. The reason you site (clutter when using graphical log tools; gitk and even git log --graph --all also have this issue) is one of the reasons we might want to use a non-branch ref. Other reasons include:

  • The .stgit branch can be considered "noise" when using git branch
  • Checking-out a .stgit branch is always a mistake (unless doing stgit development) and thus best to help users avoid this mistake
  • Individual patches already have refs found in .git/refs/patches/<branch>/.

The potential downsides of not keeping the metadata as a .stgit branch include:

  • The presence of this branch may be used by StGit users to know that a branch has been initialized (i.e. with stg init)
  • If we want to support distributed StGit metadata, i.e. pushing and pulling StGit stacks, it may be more intuitive to do this with regular git commands if the metadata is a regular branch.

I may be missing other pros/cons. My intent is to experiment with the usability of the metadata being located elsewhere. I was thinking either refs/stacks/<branch> or refs/stgit/<branch>.

from stgit.

hborchardt avatar hborchardt commented on September 1, 2024

I just read your answer in this issue: #24 (comment)
I have a feeling that the "old metadata system" refers to the .stgit branch, so waiting for your patch with stackformatversion 4 might solve my problems. If so, feel free to close this issue.

from stgit.

hborchardt avatar hborchardt commented on September 1, 2024

Much love for implementing this, thanks! ❤️

from stgit.

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.