Use `bazel-lockfile-merge` tool
Closes #22788.
PiperOrigin-RevId: 644648328
Change-Id: I7c068fad93f4a753d40a352ea009aa73b25fdf82
diff --git a/.gitattributes b/.gitattributes
index 35e4e72..e2836a9 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -4,3 +4,7 @@
# Files that should not use CRLF line endings, even on Windows.
tools/genrule/genrule-setup.sh -text
+
+# A custom merge driver for the Bazel lockfile.
+# https://bazel.build/external/lockfile#automatic-resolution
+MODULE.bazel.lock merge=bazel-lockfile-merge