summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junio@twinsun.com>2005-09-30 14:26:57 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-10-01 23:19:33 -0700
commit8098a178b26dc7a158d129a092a5b78da6d12b72 (patch)
treea91aec067dd33319e2f33de565c42ef43b449b56 /commit.c
parentUse resolve_ref() to implement read_ref(). (diff)
downloadtgif-8098a178b26dc7a158d129a092a5b78da6d12b72.tar.xz
Add git-symbolic-ref
This adds the counterpart of git-update-ref that lets you read and create "symbolic refs". By default it uses a symbolic link to represent ".git/HEAD -> refs/heads/master", but it can be compiled to use the textfile symbolic ref. The places that did 'readlink .git/HEAD' and 'ln -s refs/heads/blah .git/HEAD' have been converted to use new git-symbolic-ref command, so that they can deal with either implementation. Signed-off-by: Junio C Hamano <junio@twinsun.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions