diff options
author | Malf Furious <m@lfurio.us> | 2017-05-01 01:36:41 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-05-01 01:36:41 -0400 |
commit | 547984a91aec8b9aa12acc60146e0f23810034b0 (patch) | |
tree | 11b76769f239e63cfbc3d73b678914f32d4bfead /repo-access.sh | |
parent | 05a46bd5b1bde9329a98f18c71596987916688b7 (diff) | |
download | systrunk-547984a91aec8b9aa12acc60146e0f23810034b0.tar.gz systrunk-547984a91aec8b9aa12acc60146e0f23810034b0.zip |
Fix bug in ref resolver function
Diffstat (limited to 'repo-access.sh')
-rw-r--r-- | repo-access.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |