Browse Source

gitignore: ignore object file temporaries

During a build, a lot of *.o.-hash files are created - had not noticed
this as they are usually dumped in tmpfs on Linux. However, they
sometimes are present during a long build in the project directory, making it
annoying to commit while the project is being built.

These have been observed with Clang, -fsanitize-undefined on Arch Linux,
though other configurations may also generate such temporaries.

The solution here is on lines with the Linux kernel's .gitignore:
https://github.com/torvalds/linux/blob/master/.gitignore.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Ganesh Ajjanagadde Michael Niedermayer 10 years ago
parent
commit
07c60684a7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      .gitignore

+ 1
- 0
.gitignore View File

@@ -1,5 +1,6 @@
*.a
*.o
*.o.*
*.d
*.def
*.dll


Loading…
Cancel
Save