git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* seen branch dirty after 'make clean'
@ 2024-07-21 20:43 Ramsay Jones
  2024-07-22 16:18 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Ramsay Jones @ 2024-07-21 20:43 UTC (permalink / raw)
  To: GIT Mailing-list; +Cc: Johannes Schindelin, Junio C Hamano


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-22 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-21 20:43 seen branch dirty after 'make clean' Ramsay Jones
2024-07-22 16:18 ` Junio C Hamano

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).