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 19, 2005, 04:33 UTC
Message-ID
<200509182333.58227.dtor_core@ameritech.net>
In-Reply-To
<200509181254.14646.dtor_core@ameritech.net>
On Sunday 18 September 2005 12:54, Dmitry Torokhov wrote:
Show 23 quoted lines
> On Sunday 18 September 2005 12:10, Linus Torvalds wrote:
> > 
> > On Sat, 17 Sep 2005, Dmitry Torokhov wrote:
> > > 
> > > 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:
> > >
> > > 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.
> > > 
> > > Is this expected?
> > 
> > Absolutely not. And I don't see it when I try. What filesystem are you 
> > running this on? Looks like something did a "mkdir()" with an 
> > uninitialized pointer, but I don't see how that would happen.
> > 
> > 		Linus
> > 
> 
> It is ext3 on 2.6.12-rc6.
> 

Couple more points - just using rsync to get the data (without using git) does not not produce that wierd directory, only got clone does.

Btw, after doing a pull from git repository git cone now produces the following:

sent 403 bytes received 2164 bytes 570.44 bytes/sec total size is 533 speedup is 0.21 rsync: link_stat "/scm/git/git.git/objects/info/alternates" (in pub) failed: No such file or directory (2) rsync error: some files could not be transferred (code 23) at main.c(1173)

-- 
Dmitry
Previous: Dmitry TorokhovNext: Junio C Hamano
Message 4 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.