Skip to contentSkip to conversation

cg-init: remove .git/HEAD symlink creation

PATCH New Jonas Fonseca 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cg-init: remove .git/HEAD symlink creation

Remove symlink creation which git-init-db now creates.

---

 cg-init |    1 -
 1 files changed, 1 deletion(-)
cg-init +0 -1
@@ -24,7 +24,6 @@ trap "rm -rf $_git" SIGTERM EXIT
 git-init-db
 mkdir $_git/branches
 touch $_git/refs/heads/master
-ln -s refs/heads/master $_git/HEAD
 
 if [ "$uri" ]; then
 	echo "$uri" >$_git/branches/origin
Signature · 1 line
Jonas Fonseca