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