git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jonas Fonseca <fonseca@diku.dk>
Date
May 31, 2005, 20:47 UTC
Message-ID
<20050531204745.GA27243@diku.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
Message 1 of 1 in “cg-init: remove .git/HEAD symlink creation”
  1. cg-init: remove .git/HEAD symlink creationJonas Fonseca, May 31, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.