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

Re: [RFC] require-work-tree wants more than what its name says

From
Jeff King <peff@peff.net>
Date
May 5, 2011, 04:28 UTC
Message-ID
<20110505042805.GA10547@sigill.intra.peff.net>
In-Reply-To
<20110505042319.GA10243@sigill.intra.peff.net>
On Thu, May 05, 2011 at 12:23:19AM -0400, Jeff King wrote:
Show 7 quoted lines
> > Add a function "require_work_tree_exists" that implements the check
> > this function originally intended (this is so that third-party scripts
> > that rely on the current behaviour do not have to get broken), and
> > update all the in-tree users to use it.
> 
> Overall, I think this is a good thing to do. And for the existing
> working cases (i.e., when you are in the repo) it should be a no-op.  It

Sorry, this should have been the more specific: "i.e., when are you are in the _working tree_".

-Peff
Previous: Jeff KingNext: Sverre Rabbelier
Message 7 of 12 in “[RFC] require-work-tree wants more than what its name says”
  1. Junio C HamanoMay 3, 2011
  2. Jeff KingMay 4, 2011
  3. Junio C HamanoMay 4, 2011
  4. Jeff KingMay 4, 2011
  5. Junio C HamanoMay 5, 2011
  6. Jeff KingMay 5, 2011
  7. Jeff KingMay 5, 2011
  8. Sverre RabbelierMay 5, 2011
  9. Junio C HamanoMay 5, 2011
  10. Michael J GruberMay 4, 2011
  11. Jeff KingMay 4, 2011
  12. Junio C HamanoMay 4, 2011

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.