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

Re: can anybody explain the following to a git noob?

From
Tim Uckun <timuckun@gmail.com>
Date
May 23, 2009, 08:03 UTC
Message-ID
<855e4dcf0905230103q33508f0eh3aa2838ee71e0a81@mail.gmail.com>
In-Reply-To
<alpine.LNX.2.00.0905221259330.27232@reaper.quantumfyre.co.uk>
> What's in the subdirectory?  Is it empty?  If so, that would explain what
> you are seeing.  Git doesn't track directories - so an empty directory is
> always treated as an untracked file.

The directories are not empty. They contain various tests (unit tests, integration tests etc).

>
> I don't know if mercurial tracks directories, if it does, then this would
> explain why it behaves diffently to git.
>
That might be the reason.

I am just baffled. I have run that script many times and it always turns out the same. For example on one run I removed all the .git directories in all the subdirectories to see if I would get different results but it didn't help (git mv worked but the messed up directories remained).

I also tried renaming other directories and similar things happen.
Previous: Julian PhillipsNext: Andreas Ericsson
Message 9 of 16 in “can anybody explain the following to a git noob?”
  1. Tim UckunMay 22, 2009
  2. Avery PennarunMay 22, 2009
  3. Tim UckunMay 22, 2009
  4. Andreas EricssonMay 22, 2009
  5. Tim UckunMay 22, 2009
  6. Johannes SixtMay 22, 2009
  7. Tim UckunMay 22, 2009
  8. Julian PhillipsMay 22, 2009
  9. Tim UckunMay 23, 2009
  10. Andreas EricssonMay 22, 2009
  11. Daniel BarkalowMay 22, 2009
  12. Tim UckunMay 23, 2009
  13. Heiko VoigtMay 25, 2009
  14. Tim UckunMay 25, 2009
  15. Sitaram ChamartyMay 22, 2009
  16. Dan LoewenherzMay 22, 2009

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.