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

Re: [PATCH] Reinstate the old behaviour when GIT_DIR is set and GIT_WORK_TREE is unset

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 10, 2007, 19:26 UTC
Message-ID
<7vk5s3ry0v.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070810112821.GA11026@informatik.uni-freiburg.de>
Uwe Kleine-König  <ukleinek@informatik.uni-freiburg.de> writes:
Show 6 quoted lines
> I don't know if you planed to make 
>
> 	git checkout-index --prefix=/tmp/tra -a
>
> work (again) in a bare repo.  Probably not, so it's no surprise that it
> still doesn't work.

I think it is now safe to revert that NEED_WORK_TREE change in git.c for checkout-index.

Previous: Uwe Kleine-KönigNext: Junio C Hamano
Message 10 of 12 in “checkout-index needs a working tree”
  1. checkout-index needs a working treeJohannes Schindelin, Aug 4, 2007
  2. Junio C HamanoAug 4, 2007
  3. Johannes SchindelinAug 5, 2007
  4. Uwe Kleine-KönigAug 9, 2007
  5. Johannes SchindelinAug 10, 2007
  6. Junio C HamanoAug 10, 2007
  7. Johannes SchindelinAug 10, 2007
  8. Reinstate the old behaviour when GIT_DIR is set and GIT_WORK_TREE is unsetJunio C Hamano, Aug 10, 2007
  9. Uwe Kleine-KönigAug 10, 2007
  10. Junio C HamanoAug 10, 2007
  11. Junio C HamanoAug 11, 2007
  12. checkout-index doc: use --work-dir in the export exampleUwe Kleine-König, Aug 11, 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.