Code

Revert "Don't create the $GIT_DIR/branches directory on init"
authorJunio C Hamano <gitster@pobox.com>
Sat, 31 Oct 2009 18:16:50 +0000 (11:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 31 Oct 2009 18:16:50 +0000 (11:16 -0700)
This reverts commit 0cc5691a8b05a7eabdeef520c94b1bb3bcac7874.

There is not enough justification for doing this.  We do not update
things in .git/branches and .git/remotes anymore, but still do read
information from there and will keep doing so.

Besides, this breaks quite a lot of tests in t55?? series.

templates/branches-- [new file with mode: 0644]

diff --git a/templates/branches-- b/templates/branches--
new file mode 100644 (file)
index 0000000..fae8870
--- /dev/null
@@ -0,0 +1 @@
+: this is just to ensure the directory exists.