# [PATCH] cg-init: remove .git/HEAD symlink creation

1 messages from 2005-05-31 to 2005-05-31. Participants: Jonas Fonseca.
Thread: https://gitlist.dev/t/780

## Jonas Fonseca, 2005-05-31 20:47

Subject: [PATCH] cg-init: remove .git/HEAD symlink creation
Message-ID: <20050531204745.GA27243@diku.dk>
URL: https://gitlist.dev/e/20050531204745.GA27243%40diku.dk

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

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---

 cg-init |    1 -
 1 files changed, 1 deletion(-)

diff --git a/cg-init b/cg-init
--- a/cg-init
+++ b/cg-init
@@ -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
-- 
Jonas Fonseca

```
