-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Git Trees API no longer returns absolute paths + fails to find any other sha apart from head. #6813
Comments
That was certainly unintended and the file name part should be easy to fix. I'll see if I can reproduce the other part of the bug too. |
I submitted a fix. Unfortunately the The issue with the hashes not being properly resolved also happened when I was upgrading the |
[x]
): N/A.Description
According to https://developer.github.com/v3/git/trees/. The paths returned should be absolute paths like so:
However, the path being returned is only the filename, like so:
It doesn't seem to be able to find any other sha than head either:
https://i.imgur.com/rW3mREC.png
https://i.imgur.com/Qdm4S22.png
Commit which introduced this bug: 2af67f6
modules/git/tree.go
The text was updated successfully, but these errors were encountered: