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

[PATCH] Stop creating the .git/branches direectory in new repositories.

From
Kristian Høgsberg <krh@redhat.com>
Date
May 21, 2008, 20:09 UTC
Message-ID
<1211400570-6926-1-git-send-email-krh@redhat.com>

The .git/brances directory is actually a piece of cogito infrastructure that git creates, and is only there to prevent cogito falling over.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
---

I think it's time to drop this confusing directory from the .git template. If not for 1.5.x, let's at least schedule it for 1.6.0.

cheers, Kristian

 templates/branches-- |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
 delete mode 100644 templates/branches--
diff --git a/templates/branches-- b/templates/branches--
deleted file mode 100644
index fae8870..0000000
--- a/templates/branches--
+++ /dev/null
@@ -1 +0,0 @@
-: this is just to ensure the directory exists.
-- 
1.5.4.5
Message 1 of 1 in “Stop creating the .git/branches direectory in new repositories.”
  1. Stop creating the .git/branches direectory in new repositories.Kristian Høgsberg, May 21, 2008

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.