simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Apr 19 13:19:27 BST 2025
TL;DR:
d1ff5685 Add some exceptions in .gitignore.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2025-04-19 13:19:27
commit d1ff56853324919070bd64bc666a33c8d0c24dbc
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=d1ff56853324919070bd64bc666a33c8d0c24dbc;hp=9fcff77767d324cc86a71d11d3fa71448f6b0f56
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Apr 19 13:07:05 2025 +0100
Add some exceptions in .gitignore.
A user reports that our top-level .gitignore ignores several files
that are actually part of the real git repository. This is
inconvenient if you start from a downloaded tarball or zip file, and
try to make it _back_ into a git repository to work with it.
The blanket rule to ignore files called "Makefile" (on the theory that
they're autogenerated by cmake, or in the pre-cmake days, by
autotools) was also excluding two handwritten Makefiles, in 'icons'
and in 'contrib/cygtermd'. And the rule about doc/*.txt, intended to
exclude Halibut's plain-text output, also excluded doc/CMakeLists.txt.
With these exclusions in place, if you download a PuTTY source
.tar.gz, unpack it, change into the unpacked subdirectory, and run
'git init', 'git add .' and 'git commit', then 'git status --ignored'
to see what files in the tarball weren't added to the repo, you'll
find that the remaining ones are all in the 'doc' directory, and
really _are_ Halibut outputs: all the man pages (putty.1 etc), the
Windows help file putty.chm, and the plain text puttydoc.txt.
.gitignore | 3 +++
1 file changed, 3 insertions(+)
More information about the tartarus-commits
mailing list