Page MenuHomeFreeBSD

gitignore: expand list of ignored files
ClosedPublic

Authored by royger on Jan 11 2021, 5:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 23 2024, 10:05 AM
Unknown Object (File)
Jan 27 2024, 6:55 PM
Unknown Object (File)
Jan 25 2024, 5:51 PM
Unknown Object (File)
Jan 22 2024, 10:09 PM
Unknown Object (File)
Jan 14 2024, 5:12 PM
Unknown Object (File)
Dec 20 2023, 8:16 PM
Unknown Object (File)
Dec 20 2023, 2:31 AM
Unknown Object (File)
Dec 14 2023, 1:09 PM
Subscribers

Details

Summary

Add the *.swp and *~ pattern for vim temporary files. Expand the
cscope ones to include all files possibly generated by cscope and also
add some known object formats.

Also remove the leading '?' from cscope.out, or else it doesn't match
the cscope.out file generated by default (as it expects an extra
character in front).

Sponsored by: Citrix Systems R&D

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 11 2021, 5:37 PM

?cscope.out is removed, is that intentional?

I wonder whether to also add '~.' to the list of patterns.

?cscope.out is removed, is that intentional?

yes, I'm not sure the point of that pattern, as the cscope database is cscope.out, so adding a ? prevents the match. I can keep it while adding the plain cscope.out pattern, but I'm unsure why it's there in the first place (other projects don't seem to have it FWIW).

Expand the list of file patterns to ignore.

This revision now requires review to proceed.Jan 11 2021, 5:49 PM
This revision is now accepted and ready to land.Jan 11 2021, 5:51 PM
.gitignore
2

what creates these?

.gitignore
2

I think it was a fail-safe in SVN to avoid committing *.a files to the repository.

But, your comment here versus the one emailed to me are different (my email shows your comment after '_.tinderbox.*').

If the latter was what you were inquiring about, I believe they are log files created by 'make tinderbox'.

Note that I have D28047 uncommitted for cscope files, but am happy to abandon that in favor of this. I also don't see a need for ?cscope.out.

.gitignore
2

Those are library archive files created by ar usually.

This revision was automatically updated to reflect the committed changes.