From 547984a91aec8b9aa12acc60146e0f23810034b0 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Mon, 1 May 2017 01:36:41 -0400 Subject: Fix bug in ref resolver function --- repo-access.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo-access.sh b/repo-access.sh index 1e799a5..9a2f7c8 100644 --- a/repo-access.sh +++ b/repo-access.sh @@ -32,7 +32,7 @@ function systr_repo_resolve_reference cd "$path" if [[ "$symref" == "HEAD" ]]; then - cat "HEAD" + cat "refs/HEAD" elif [ -f "refs/$symref" ]; then cat "refs/$symref" elif [ -f "revs/$symref/.commit.systr" ]; then -- cgit v1.2.3