Happens again since 2.088, this time on Windows:
>c:\d\dmd-2.088.1\windows\bin\dmd.exe --version
DMD32 D Compiler v2.088.1-dirty
Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved written by Walter Bright
might be an issue with "git describe --dirty" thinking files are modified due to unexpected autocrlf settings.
probably related: https://issues.dlang.org/show_bug.cgi?id=17805
Comment #1 by dlang-bot — 2020-09-05T08:35:57Z
@rainers created dlang/installer pull request #469 "fix issue 20620 - dmd version has -dirty suffix" fixing this issue:
- fix issue 20620 - dmd version has -dirty suffix
run `git clean` instead of `make clean` to have platform independent cleanup
restore original VERSION file to avoid `git describe` returning "dirty" due to a previous build
https://github.com/dlang/installer/pull/469
Comment #2 by dlang-bot — 2020-09-06T21:39:07Z
dlang/installer pull request #469 "fix issue 20620 - dmd version has -dirty suffix" was merged into master:
- 96e860f017eb0c7abd714a196b00b2ce451fb44e by Rainer Schuetze:
fix issue 20620 - dmd version has -dirty suffix
run `git clean` instead of `make clean` to have platform independent cleanup
restore original VERSION file to avoid `git describe` returning "dirty" due to a previous build
https://github.com/dlang/installer/pull/469
Comment #3 by andrej.mitrovich — 2023-02-05T13:53:31Z
Have to reopen this, it's been reproducible for at least the last few releases that I can tell, including v2.102.0.
Comment #4 by ibuclaw — 2023-12-27T08:58:12Z
*** This issue has been marked as a duplicate of issue 22212 ***