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)
Mon, Oct 21, 4:41 AM
Unknown Object (File)
Mon, Oct 21, 4:41 AM
Unknown Object (File)
Mon, Oct 21, 4:41 AM
Unknown Object (File)
Mon, Oct 21, 4:41 AM
Unknown Object (File)
Mon, Oct 21, 4:19 AM
Unknown Object (File)
Tue, Oct 15, 3:35 AM
Unknown Object (File)
Oct 4 2024, 1:46 PM
Unknown Object (File)
Oct 3 2024, 8:48 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36107
Build 32996: arc lint + arc unit

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
1

what creates these?

.gitignore
1

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
1

Those are library archive files created by ar usually.

This revision was automatically updated to reflect the committed changes.