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

Re: rc4 - make quick-install-doc is broken

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Aug 4, 2007, 23:03 UTC
Message-ID
<46B505AD.4010009@lsrfire.ath.cx>
In-Reply-To
<Pine.LNX.4.64.0708042328000.14781@racer.site>
Johannes Schindelin schrieb:
> Then you make an untracked directory called untracked/.  Tradition 
> dictates that when we're in that directory, we get the prefix 
> "untracked/", because we might add a file, or reference a file in another 
> branch, where that directory is _not_ untracked.

The test is modelled after the install script; Documentation/ (the CWD during 'make quick-install-doc') is not tracked in branch origin/man.

Show 11 quoted lines
> So it is expected that checkout-index and ls-files behave differently 
> in a subdirectory (even if that is currently untracked).
> 
> It seems a bit counterintuitive that read-tree succeeds, but really, 
> read-tree is only a commit -> index operation, which should not care about 
> the current prefix.  So it is fine.
> 
> Checkout-index, instead, is an index -> working tree operation, and for 
> most of these, we care about the current prefix (so that you can say git 
> checkout-index file1, where file1 is in the current directory, which is 
> _not_ the working tree root).
OK, makes sense.

Thanks, René

Previous: Johannes Schindelin
Message 36 of 36 in “rc4 - make quick-install-doc is broken”
  1. Mark LevedahlAug 4, 2007
  2. Johannes SchindelinAug 4, 2007
  3. Mark LevedahlAug 4, 2007
  4. Johannes SchindelinAug 4, 2007
  5. Mark LevedahlAug 4, 2007
  6. Johannes SchindelinAug 4, 2007
  7. Mark LevedahlAug 4, 2007
  8. Fix quick-install-docJohannes Schindelin, Aug 4, 2007
  9. René ScharfeAug 4, 2007
  10. Fix install-doc-quick targetJunio C Hamano, Aug 5, 2007
  11. Johannes SchindelinAug 5, 2007
  12. Junio C HamanoAug 5, 2007
  13. Johannes SchindelinAug 5, 2007
  14. Johannes SchindelinAug 5, 2007
  15. (Really) Fix install-doc-quick targetMark Levedahl, Aug 6, 2007
  16. Johannes SchindelinAug 6, 2007
  17. Junio C HamanoAug 6, 2007
  18. Mark LevedahlAug 6, 2007
  19. Johannes SchindelinAug 6, 2007
  20. Mark LevedahlAug 6, 2007
  21. Junio C HamanoAug 7, 2007
  22. Mark LevedahlAug 7, 2007
  23. Junio C HamanoAug 7, 2007
  24. René ScharfeAug 7, 2007
  25. Johannes SchindelinAug 7, 2007
  26. Mark LevedahlAug 4, 2007
  27. Johannes SchindelinAug 4, 2007
  28. Mark LevedahlAug 4, 2007
  29. René ScharfeAug 4, 2007
  30. Johannes SchindelinAug 4, 2007
  31. Mark LevedahlAug 4, 2007
  32. Johannes SchindelinAug 4, 2007
  33. René ScharfeAug 4, 2007
  34. Johannes SchindelinAug 4, 2007
  35. Johannes SchindelinAug 4, 2007
  36. René ScharfeAug 4, 2007

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.