Some project might want to add *.manifest
to their visual studio gitignore.io
file.
That is because some Visual Studio project properties of new projects are set to generate a manifest file.
See "Manifest Generation in Visual Studio"
But if you have generated them and they are static (not changing over time), then it is a good idea to remove them from the .gitignore
file.
That is what a project like Git for Windows just did (for Git 2.24, Q4 2019)
See commit aac6ff7 (05 Sep 2019) by Johannes Schindelin (dscho
).
(Merged by Junio C Hamano -- gitster
-- in commit 59438be, 30 Sep 2019)
.gitignore
: stop ignoring .manifest
files
On Windows, it is possible to embed additional metadata into an executable by linking in a "manifest", i.e. an XML document that describes capabilities and requirements (such as minimum or maximum Windows version).
These XML documents are expected to be stored in .manifest
files.
At least some Visual Studio versions auto-generate .manifest
files
when none is specified explicitly, therefore we used to ask Git to
ignore them.
However, we do have a beautiful .manifest
file now: compat/win32/git.manifest
, so neither does Visual Studio auto-generate a manifest for us, nor do we want Git to ignore the .manifest
files anymore.