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

Re: Garbage in .git directories???

From
DTDmitry 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
Previous: Dmitry TorokhovNext: Linus Torvalds
Message 8 of 22 in “Garbage in .git directories???”
  1. Dmitry TorokhovSep 18, 2005
  2. Linus TorvaldsSep 18, 2005
  3. Dmitry TorokhovSep 18, 2005
  4. Dmitry TorokhovSep 19, 2005
  5. Junio C HamanoSep 19, 2005
  6. Linus TorvaldsSep 19, 2005
  7. Dmitry TorokhovSep 19, 2005
  8. Dmitry TorokhovSep 20, 2005
  9. Linus TorvaldsSep 20, 2005
  10. Dmitry TorokhovSep 20, 2005
  11. H. Peter AnvinSep 19, 2005
  12. Petr BaudisSep 19, 2005
  13. H. Peter AnvinSep 19, 2005
  14. Petr BaudisSep 19, 2005
  15. H. Peter AnvinSep 19, 2005
  16. Fix git-init-db creating crap directoriesPetr Baudis, Sep 20, 2005
  17. H. Peter AnvinSep 20, 2005
  18. Fix git-init-db creating crap directories (zeroth try)Petr Baudis, Sep 20, 2005
  19. H. Peter AnvinSep 20, 2005
  20. Petr BaudisSep 20, 2005
  21. Junio C HamanoSep 20, 2005
  22. H. Peter AnvinSep 20, 2005

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.