commit 9f088561c1523d1bd46e310cc738ebd6b7eadd0c
parent fcda48a506bce62b8e7f5698adb6bdc638c1684c
Author: Randell Jesup <rjesup@mozilla.com>
Date: Thu, 20 Nov 2025 15:08:33 +0000
Bug 1999044: modify .gitignore/.hgignore to ignore emacs .#XXXXXX lock files r=sfink DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D271843
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -21,6 +21,8 @@ compile_commands.json
# emacs backup files in any directory.
# lint-ignore-next-line: syntax-difference
[#]*#
+# ignore emacs lock files in any dir: .#filename
+.#*
# Ignore ID generated by idutils.
ID
diff --git a/.hgignore b/.hgignore
@@ -21,6 +21,8 @@
# emacs backup files #filename# in any directory.
# lint-ignore-next-line: syntax-difference
(^|/)\#[^/]*\#$
+# ignore emacs lock files in any dir: .#filename
+(^|/)\.\#.*
# Ignore ID generated by idutils.
(^|/)ID$