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 29, 2011, 21:55 UTC
Message-ID
<CAGdFq_hYiBoqNmNtBKBqNN4XLLKwxDMHJfAUwdHB_iCcya=DOQ@mail.gmail.com>
In-Reply-To
<CA+jCPNcOe_dd6fsHDvWtoXEQE+xyd=aaSbfjpjQ8UfyFnvXTfg@mail.gmail.com>
Heya,
On Fri, Jul 29, 2011 at 23:46, Allan Caffee <allan.caffee@gmail.com> wrote:
Show 9 quoted lines
> % git describe --tags --dirty
> v0.0.3-dirty
>
> % git status
> # On branch master
> nothing to commit (working directory clean)
>
> % git describe --tags --dirty
> v0.0.3

Perhaps git describe does not update the index (properly?), which 'git status' then does, correcting it?

-- 
Cheers,

Sverre Rabbelier
Previous: Allan CaffeeNext: Allan Caffee
Message 2 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.