Re: Garbage in .git directories???
From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:06
Dear diary, on Mon, Sep 19, 2005 at 09:10:19PM CEST, I got a letter where "H. Peter Anvin" [off-list ref] told me that...
Dmitry Torokhov wrote:quoted
git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git work and it seems there is some garbage in .git directory: [dtor@anvil work]$ ls -la .git/ total 40 drwxrwxr-x 9 dtor dtor 4096 Sep 17 21:17 . drwxrwxr-x 3 dtor dtor 4096 Sep 17 21:17 .. drwxrwxr-x 2 dtor dtor 4096 Sep 17 21:17 branches -rw-rw-r-- 1 dtor dtor 58 Sep 17 21:17 description lrwxrwxrwx 1 dtor dtor 17 Sep 17 21:17 HEAD -> refs/heads/master drwxrwxr-x 2 dtor dtor 4096 Sep 17 21:17 hooks drwxrwxr-x 2 dtor dtor 4096 Sep 17 21:17 info drwxr-xr-x 260 dtor dtor 4096 Sep 17 17:41 objects drwxrwxr-x 4 dtor dtor 4096 May 1 19:15 refs drwxrwxr-x 2 dtor dtor 4096 Sep 17 21:28 remotes drwxrwxr-x 2 dtor dtor 4096 Sep 17 21:17 V?Cl?????E ???#V?C????l??E#V?C??;H ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The similar garbage(?) shows when I clone git's repository.FWIW, using cg-clone (using git-core 0.99.6 and cogito 0.14.1) I keep finding a directory in .git which consists of a single DEL character (\177).
Does cg-init produce it too? It really seems that this has to be a bug in git-init-db. If that is the case, could you try temporarily renaming the templates directory? -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ If you want the holes in your knowledge showing up try teaching someone. -- Alan Cox