Re: Garbage in .git directories???
- From
- Dmitry Torokhov <dtor_core@ameritech.net>
- Date
- Sep 20, 2005, 00:09 UTC
- Message-ID
- <200509191909.22026.dtor_core@ameritech.net>
- In-Reply-To
- <Pine.LNX.4.58.0509190747210.9106@g5.osdl.org>
On Monday 19 September 2005 09:51, Linus Torvalds wrote:
Show 10 quoted lines
> > On Sun, 18 Sep 2005, Dmitry Torokhov wrote: > > > > Couple more points - just using rsync to get the data (without using git) > > does not not produce that wierd directory, only got clone does. > > Does a plain "git-init-db" in a newly created empty directory do the same? > There was a bug (a long time ago) that created garbage instead of the > template files, I think. >
Yes, plain git-init-db produces the garbage.
[dtor@anvil tst]$ git-init-db defaulting to local storage area [dtor@anvil tst]$ ls -l .git/ total 32 drwxrwxr-x 2 dtor dtor 4096 Sep 19 19:08 branches -rw-rw-r-- 1 dtor dtor 58 Sep 19 19:08 description lrwxrwxrwx 1 dtor dtor 17 Sep 19 19:08 HEAD -> refs/heads/master drwxrwxr-x 2 dtor dtor 4096 Sep 19 19:08 hooks drwxrwxr-x 2 dtor dtor 4096 Sep 19 19:08 info drwxrwxr-x 260 dtor dtor 4096 Sep 19 19:08 objects drwxrwxr-x 4 dtor dtor 4096 Sep 19 19:08 refs drwxrwxr-x 2 dtor dtor 4096 Sep 19 19:08 remotes drwxrwxr-x 2 dtor dtor 4096 Sep 19 19:08 V?Cl???E ???#V?C??տl??E#V?C??;H [dtor@anvil tst]$ git --version git version 0.99.7
(Actually this is last night's pull).
-- Dmitry