Re: env GIT_WORK_TREE ignored by git describe --dirty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 25, 2019 at 07:52:24PM -0500, Moocowmoo . wrote:

> git describe --dirty shows dirty when cwd not repo work directory.
> 
> Confirmed by osse on freenode irc #git
> 
>   ubuntu@wrk:~/tmp$ pwd
>   /home/ubuntu/tmp
>   ubuntu@wrk:~/tmp$ git clone https://github.com/ipfs/go-ipfs.git
>   ubuntu@wrk:~/tmp$ GIT_DIR=/home/ubuntu/tmp/go-ipfs/.git
> GIT_WORK_TREE=/home/ubuntu/tmp/go-ipfs git describe --dirty
>   v0.4.18-381-gca77ecc76-dirty

It sounds like this this is the same bug being discussed in:

  https://public-inbox.org/git/20190126204951.42455-1-koraktor@xxxxxxxxx/

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux