Skip to content
Tcl Source Code View Ticket
Login

View Ticket

.gitignore ignores library/tcltest.tcl

Closed / Fixed0aa76385340091e4370bed90f5798e0d6e734800Created 4 years agoUpdated 4 years ago
Descriptionwiki2022-08-29 18:17:11
.gitignore contains */tcltest* which causes library/tcltest.tcl to be ignored, which I believe is erroneous.
Referenced by2
fvogelwiki2022-08-29 19:19:06

Ditto in .fossil-settings/ignore-glob

This is the case the Tcl (*/tcltest*) and Tk (*/tktest*) at least. This indeed sounds like an error. I think this could just be removed. Unless I'm missing a good reason for the opposite?(if so the glob should be refined to include what is wanted and exclude what is not).

jan.nijtmanswiki2022-08-31 10:15:22

The intention of this rule was that the tcltest executable (win/tcltest.exe or unix/tcltest) cannot be committed by accident. The '*' in the rule would match the ".exe" on Windows. But ... there is already a seperate ".exe" rule, so the easiest fix is to remove the '*' from the rules. Then it won't match "tcltest.tcl" any more, which was - indeed - unintentional.

Fixed now in all branches.

Thanks for the report!

Log in (anonymous is fine) to add a comment.