Closed gdewald closed 7 years ago
Working on adding support.
I've also found a bug. If you send a valid non-commit object (e.g. blob) hash sum there is an exception.
Steps to repro:
git ls-tree head
and selecting any object ID (hash sum)api/v1/repos/admin123/test/raw/<shasum>/<filepath>
Root cause is that git show
works with all types of object IDs, but the output of non-commit objects is unexpected to the parser and results in an exception.
Closing issue to move to appropriate repos
Are there any plans to support object hashes (rather than commit hashes) when referring to raw content via the repository contents API?