Closed
Conversation
92a8520 to
809c741
Compare
1bce177 to
5cb836d
Compare
5cb836d to
82ea81b
Compare
82ea81b to
1ee62c2
Compare
ff61689 to
40dc979
Compare
7c78d5b to
00fd43c
Compare
This allows us to pick which data from a commit we're interested in. This will be used by the revwalk code, which is only interested in parents' and committer data.
This represents (old-style) grafted commits, a.k.a an array of overridden parents for a commit's OID.
This wires git_repository to open the .git/info/grafts file and load its contents as git_commit_grafts objects.
00fd43c to
6f58306
Compare
Member
|
I don't think it's necessary to have this PR reviewed separately from #4331. #4331 doesn't add much on top of the grafts API, only some small bits of plumbing to wire it all up. I'm thus closing this PR for now in favour of #4331, which I'd like to land directly. @tiennou: if you disagree, please let me know and I'll immediately reopen this. |
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
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.
Depends on #4445. Sadly I can't open the PR against libgit2 and set that as the base branch, so do note that the first
commit:commits come from that other PR.This adds graft support to
git_repositoryas a private API. The end goal is to be able to store and obey shallow roots when working with a shallow repository, but this is usable on its own.As discussed on #4331, this is unrelated to the
git-replacemechanism.