git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: "Moocowmoo ." <moocowmoo@masternode.me>
Cc: git@vger.kernel.org
Subject: Re: env GIT_WORK_TREE ignored by git describe --dirty
Date: Mon, 28 Jan 2019 13:19:08 -0500	[thread overview]
Message-ID: <20190128181908.GA11337@sigill.intra.peff.net> (raw)
In-Reply-To: <CANMbfitE+5HLo1sMowr5erJGwzLVv3Z9sHKEgvOeso5OeWVrBg@mail.gmail.com>

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@gmail.com/

-Peff

      reply	other threads:[~2019-01-28 18:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CANMbfiuUHxkw822AvA+y0cJ+ao=pcrza7w4fgMn7vVx8AZqCwQ@mail.gmail.com>
2019-01-26  0:52 ` env GIT_WORK_TREE ignored by git describe --dirty Moocowmoo .
2019-01-28 18:19   ` Jeff King [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190128181908.GA11337@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=moocowmoo@masternode.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).