threads / patch / 13606

patchStop creating the .git/branches direectory in new repositories.

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

## tl;dr

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

replies: 0people: 1as markdown or json

Kristian Høgsberg· May 21, 2008, 20:09 UTC · lore

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--
Show changes to templates/branches-- +0 −1
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

← back to recent threads