Page MenuHomeFreeBSD

gitignore: expand list of ignored files
ClosedPublic

Authored by royger on Mon, Jan 11, 5:35 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Mon, Jan 11, 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.Mon, Jan 11, 5:49 PM
This revision is now accepted and ready to land.Mon, Jan 11, 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.