Comments (3)
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 usinggit 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.
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.
Much love for implementing this, thanks! ❤️
from stgit.
Related Issues (20)
- Auto-`pop` a chain of patches to avoid merge conflicts HOT 1
- Non-stacky `pop`/`push` HOT 2
- "stg email" is very different than "stg mail" HOT 1
- stgit not finding user information HOT 3
- stg status: error: while expanding shell alias (program not found) HOT 1
- error: running editor: vi: The system cannot find the file specified. (os error 2)
- "stg pop --spill" leaves patch modifications staged HOT 1
- "new, pop, edit, refresh, push" results in empty top patch? HOT 5
- "stg branch some_other_branch --delete" deletes _current_ branch HOT 1
- Argv ordering requirements unnecessarily strict HOT 5
- FR: `swap` command for reordering patches - keeping tree contents the same at each HOT 3
- Question about stg edit
- stg mail --compose is not setting In-Reply-To or Reference from the cover letter.
- stg mail send with multiple --cc options only honors the first HOT 2
- feature request: stg whatchanged HOT 2
- feature request: stg move HOT 1
- Refresh installation documentation on https://stacked-git.github.io/ HOT 2
- [feature request]: run command on each (applied) patch HOT 3
- Renaming a commit as part of `stg refresh -e` ignores changes to the body HOT 1
- "stg import --reject" is broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stgit.