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

seen branch dirty after 'make clean'

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Jul 21, 2024, 20:43 UTC
Message-ID
<57f9a518-8b71-442e-ae21-58b283b073a9@ramsayjones.plus.com>

Just a quick heads up; with current seen branch, if you do a 'make clean' before building (as I routinely do), then:

  $ pwd
  /home/ramsay/git
  $ 
  $ git gcs HEAD
  19a89823f5 ("Merge branch 'pw/add-patch-with-suppress-blank-empty' into seen", 2024-07-20)
  $ 
  $ make clean >/dev/null
  $ 
  $ git status -uno
  On branch seen
  Your branch is up-to-date with 'origin/seen'.
  
  Changes not staged for commit:
    (use "git add/rm <file>..." to update what will be committed)
    (use "git restore <file>..." to discard changes in working directory)
  	deleted:    Documentation/docinfo.html
  
  no changes added to commit (use "git add" and/or "git commit -a")
  $ 
  $ git describe --dirty
  v2.46.0-rc1-129-g19a89823f5-dirty
  $ 
  $ git restore Documentation/docinfo.html
  $ 
  $ git status -uno
  On branch seen
  Your branch is up-to-date with 'origin/seen'.
  
  nothing to commit (use -u to show untracked files)
  $ 
  $ git describe --dirty
  v2.46.0-rc1-129-g19a89823f5
  $ 
 
This is because commit dbc2de902e ("asciidoctor: fix `synopsis` rendering",
2024-07-20) adds a tracked file (Documentation/docinfo.html) which the clean
target deletes (via *.html).

ATB, Ramsay Jones

Next: Junio C Hamano
Message 1 of 2 in “seen branch dirty after 'make clean'”
  1. Ramsay JonesJul 21, 2024
  2. Junio C HamanoJul 22, 2024

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.