-
Notifications
You must be signed in to change notification settings - Fork 296
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
Extract IGit
#556
Extract IGit
#556
Conversation
Considering that doesn't seem to be maintained anymore I highly doubt we would do that |
https://github.com/libgit2/libgit2 shows the last commit at 22 days ago.
|
e01b940
to
9269751
Compare
It's been over 3 months, @ras0219-msft are you still working on this or should it be closed for now? |
const auto& git = paths.get_git_impl(stdout_sink); | ||
GitLsTreeOptions opts = {}; | ||
opts.dirs_only = true; | ||
auto maybe_files = git.ls_tree(paths.git_builtin_config(), "HEAD:ports/", opts); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
End-to-end tests are failing due to this hardcoded "HEAD:ports/"
. We should make this use the value of --x-builtin-ports-root
.
As this has had no work in over 6 months, I'm closing it for now. Please feel to reopen or make a new PR should you choose to pick it back up again :) |
Picking up #529 since @vicroms does not have time to push it through.
This PR condenses all use of git to go through a narrow
IGit
interface. This hides the underlying implementation, potentially for future replacement by libgit2.