On Wed, Mar 4, 2015 at 11:54 AM, Junio C Hamano wrote:
> Chris Pimlott writes:
>
>> folio:text chris$ git --git-dir=../.git describe --always --dirty
>> c0edd63-dirty
>
> I have a feeling that this is not limited to describe at all. With
> the --git-dir option, you are telling Git that your
Chris Pimlott writes:
> It seems that git-describe always thinks that working copy is dirty if
> you are not in the WC root and you explicitly specify the .git
> directory location using --git-dir:
>
> # set up test repo
> folio:~ chris$ mkdir repo && cd repo
> folio:repo chris$ mkdir text
It seems that git-describe always thinks that working copy is dirty if
you are not in the WC root and you explicitly specify the .git
directory location using --git-dir:
# set up test repo
folio:~ chris$ mkdir repo && cd repo
folio:repo chris$ mkdir text && echo hi > text/hi.txt
folio:repo
3 matches
Mail list logo