aboutsummaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-01-16 16:46:08 +0700
committerJunio C Hamano <gitster@pobox.com>2012-01-16 16:26:24 -0800
commit7f08c6858ecfdf29f9713cf3a0b3699192f01a94 (patch)
treebf7099993b8f41f52ad0c81f9468e6f192a0ca6c /hash.c
parentbafe763197cb6535e5b4956ffeaa4e26ebb10651 (diff)
downloadgit-7f08c6858ecfdf29f9713cf3a0b3699192f01a94.tar.gz
git-7f08c6858ecfdf29f9713cf3a0b3699192f01a94.tar.xz
clone: write detached HEAD in bare repositories
If we don't write, HEAD is still at refs/heads/master as initialized by init-db, which may or may not match remote's HEAD. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions