-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use git ref instead of branch for stgit log #65
Comments
I just read your answer in this issue: #24 (comment) |
Sorry for this delayed response. To clarify: the old metadata system uses files found under 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
The potential downsides of not keeping the metadata as a
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 |
Much love for implementing this, thanks! ❤️ |
I am having the problem that when viewing the repo state in SourceTree, my branch list is cluttered with the
<mybranch>.stgit
log entries from stgit (same argument as Issue #32).Instead of not logging at all, would it be possible to not use a branch for the stgit log, but instead an abstract git ref like
refs/stgitlog/<mybranch>
to track the state of the log?
I did a quick test changing
stgit/stgit/lib/log.py
Line 121 in 333e9e4
to
return 'refs/stgitlog/%s.stgit' % branch
and as far as I can tell logging, undo, etc. works, as well as having a clean view in SourceTree.
I acknowledge that this would be a breaking change if just edited, so we might want to make the second part of the ref configurable.
If you could confirm that I am not missing anything and you would welcome such a change, I can give a shot at a pull request.
The text was updated successfully, but these errors were encountered: