summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-10-10 12:36:27 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2015-10-10 20:30:41 +0200
commit07c60684a7502b256b1cded08dcdaec3dcdcc719 (patch)
tree11326a2fe4b7a8c60a3580c42e72b504605f97ba /.gitignore
parent3b2000c2bf123baef5b934e1d04cc86e5f404a87 (diff)
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>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 5cabe507a3..93b0dca40a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
*.a
*.o
+*.o.*
*.d
*.def
*.dll