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

Re: Garbage in .git directories???

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Sep 19, 2005, 19:10 UTC
Message-ID
<432F0D1B.60303@zytor.com>
In-Reply-To
<200509172141.31591.dtor_core@ameritech.net>
Dmitry Torokhov wrote:
Show 22 quoted lines
> 
> 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).

	-hpa
Previous: Dmitry TorokhovNext: Petr Baudis
Message 11 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.