git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Unusual behavior from git describe

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Jul 30, 2011, 13:32 UTC
Message-ID
<CAGdFq_imU3_=E1LK-AG33Tj70iOJBTmt2_qdUKVHL9DVW2yJRQ@mail.gmail.com>
In-Reply-To
<CA+jCPNfwwhM8R-bB_VnwpaijSMf3BNydH35SqZt3dRb-P1AOmg@mail.gmail.com>
Heya,
On Sat, Jul 30, 2011 at 15:29, Allan Caffee <allan.caffee@gmail.com> wrote:
> I suppose that makes sense.  But what about building a package, which
> doesn't change any tracked files or add any (non-ignored) untracked
> files, would cause the index to appear dirty in the first place?

Does it perhaps touch some of the tracked files? That way it would make sense git at first thinks it's dirty (since the lstat info changed), but then 'git status' will actually check the contents of the file and notice that they're equal? Just guessing here though.

-- 
Cheers,

Sverre Rabbelier
Previous: Allan CaffeeNext: Allan Caffee
Message 4 of 10 in “Unusual behavior from git describe”
  1. Allan CaffeeJul 29, 2011
  2. Sverre RabbelierJul 29, 2011
  3. Allan CaffeeJul 30, 2011
  4. Sverre RabbelierJul 30, 2011
  5. Allan CaffeeJul 30, 2011
  6. Jeff KingJul 31, 2011
  7. describe: Refresh the index when run with --dirtyAllan Caffee, Aug 1, 2011
  8. Jeff KingAug 1, 2011
  9. Junio C HamanoAug 2, 2011
  10. Allan CaffeeAug 2, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.