threads / patch / 780

patchcg-init: remove .git/HEAD symlink creation

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

## tl;dr

One message between May 31, 2005 and May 31, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jonas Fonseca· May 31, 2005, 20:47 UTC · lore
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(-)
Show changes to cg-init +0 −1
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

← back to recent threads