.gitignore TAGS and emacs lock files #8565

pull roques wants to merge 2 commits into bitcoin:master from roques:gitignore changing 1 files +15 −0
  1. roques commented at 1:56 PM on August 23, 2016: contributor

    TAGS CTAGS GTAGS ID etc. can be generated (and distclean-ed) by the existing Makefiles, they should be ignored by git.

  2. .gitignore TAGS etc. d99cd734e2
  3. .gitignore emacs lock files 6599b93119
  4. btcdrak commented at 1:59 PM on August 23, 2016: contributor

    These should be added to your local global ignore, not the repository. See https://help.github.com/articles/ignoring-files/#create-a-global-gitignore

  5. laanwj commented at 2:01 PM on August 23, 2016: member

    Yes, see for example #8197. Our policy for gitignore files project-wide is that we ignore files produced by the build, not by external tools or IDEs that one may use. Git has more specific options for that to avoid having to do that for every project.

  6. roques commented at 6:54 PM on August 23, 2016: contributor

    Not .gitignoring emacs specialities in a project which doesn't depend on emacs makes sense to me. However, vi's .*.swp files and backups currently are in .gitignore. Removing them for consistency is probably not worth it. The TAGS ETAGS etc. files can be created by the project's Makefile as it is now, otherwise I wouldn't have bothered in the first place. However, TAGS-support seems to be automatically provided by automake, unlike lcov-support which looked similar and whose artifacts are in .gitignore, but was explicitly added to configure.ac.

    Thus, I'll rescind this pull request. Should you change your mind, the changes are trivial to recreate.

  7. roques closed this on Aug 23, 2016

  8. sipa commented at 10:31 AM on August 25, 2016: member

    What tools create TAGS files?

  9. roques commented at 6:37 PM on August 26, 2016: contributor

    TAGS (for emacs) is created by etags(1) and tags (for vi) by ctags(1). M-. can be used to jump to a symbol's definition in emacs and vi will jump to the tag of the keyword the cursor is on with the CTRL-] command. The corresponding make targets are tags and ctags.

  10. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 21:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me