Repo: git://git.gitano.org.uk/gall.git
Ref: refs/richardmaw/gall-ref-filepath-resolve
Sha1: 1b31bd6c23e4335fff859e1a82acbf97c2b0929f
File path resolution was already possible for symbolic refs or sha1s,
but the check that the sha1ish starts with refs/ was bypassing a full resolve.
This change removes the need to first resolve the ref to a sha1 and then
resolve again prepending the file path to the sha1.
Richard Maw (3):
ll.git2: Add revparse_single interface
gall.repository: Use revparse_single to normalise
tests: Add test for file sha1ish normalise
lib/gall/ll/git2.c | 25 +++++++++++++++++++++++++
lib/gall/repository.lua | 7 +------
test/test-gall.repository.lua | 5 +++++
3 files changed, 31 insertions(+), 6 deletions(-)
--
2.9.0