Re: [PATCH 2/2] Setup working tree in describe
- Date: Sat, 26 Jan 2019 09:28:54 -0500
- From: Jeff King <peff@xxxxxxxx>
- Subject: Re: [PATCH 2/2] Setup working tree in describe
On Sat, Jan 26, 2019 at 03:07:54PM +0100, Sebastian Staudt wrote:
> Are you sure that it will fail without a working tree?
> Is it even possible to have *no* working tree?
> I already tested this with some real life examples, e.g.
> git --git-dir /some/path/.git describe
> From inside and outside of other repositories.
> I didn‘t hit any errors so far.
git clone --bare . bare.git
That works with current versions of Git, but yields "fatal: this
operation must be run in a work tree" with your patch.
PS Your patches seem whitespace-damaged. You might want to look into