git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] cg-init: remove .git/HEAD symlink creation
@ 2005-05-31 20:47 Jonas Fonseca
  0 siblings, 0 replies; only message in thread
From: Jonas Fonseca @ 2005-05-31 20:47 UTC (permalink / raw
  To: Petr Baudis; +Cc: git

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-31 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-31 20:47 [PATCH] cg-init: remove .git/HEAD symlink creation Jonas Fonseca

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).