-
Couldn't load subscription status.
- Fork 716
graph -> stacks #9122
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
Merged
Merged
graph -> stacks #9122
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@Byron is attempting to deploy a commit to the GitButler Team on Vercel. A member of the Team first needs to authorize it. |
7ec7a67 to
08c63f5
Compare
08c63f5 to
d13b7a4
Compare
d13b7a4 to
705f499
Compare
705f499 to
c691f59
Compare
c691f59 to
6bf35e7
Compare
6bf35e7 to
40f096f
Compare
40f096f to
b47bc92
Compare
b47bc92 to
d10252b
Compare
d10252b to
1df7dd0
Compare
1df7dd0 to
08a1ef8
Compare
08a1ef8 to
e899ddb
Compare
e899ddb to
c750876
Compare
c750876 to
943b1c2
Compare
Also: remove CommitDetails for better performance and less memory consumption. Make it minimal, leave it to shortly before the UI for details. Otherwise, it's easy to run out of memory with big graphs unless care is taken. Ideally we are just lazy enough to not have to take care. Remove commit details for more a little speed Any waste is bad when dealing with a lot of commits, and we don't need it for anything yet. Also: set graph to StableGraph implementation for stable node indices. This is beneficial as it allows us to see the order of segment creation, while having them for visualization early on as well.
This should help to onboard people.
5bbb034 to
280c503
Compare
3a432cb to
337c131
Compare
337c131 to
36002cd
Compare
That way it will be possible for the graph to first show up in the UI.
36002cd to
413afc7
Compare
413afc7 to
0545b77
Compare
0545b77 to
faf6655
Compare
faf6655 to
7105471
Compare
7105471 to
c60f43b
Compare
This was referenced Jul 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Produce a datastructure that can represent any commit-graph as segments, which is the level of detail that we are interested in.
These segments can be traversed forward and backwards, and they know the commits that are uniquely assigned to it.
Segments can have inter-segment relations, to help with dealing with related remote tracking branches.
Tasks
gitoxideprobably due to invalid ref-nameWorkspacetyperef-info- do it once single-branch is supported.to_workspace()needs max-segments to avoid fetching info for too many commits, and also max-commits, and integrated 'gas stations' using commit idgixfrommainFor next PR (wrapup)
mainas anchor effectively)Not to forget
archivedflagProblems this should solve
This PR should allow us to see if this is the right way to go, as it should solve a couple of problems, all at once:
a pick-list for the rebase engine that can be reviewed before actually running it (i.e. dry-run built-in).
Related
Previous