Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit bf43372

Browse files
null77Commit Bot
authored andcommitted
Use binary merge strategy for code generator hashes.
The binary merge strategy marks the file as conflicted but doesn't actually change the file contents. This keeps the json hashes file valid and alerts the user that the generator needs to be re-run. Bug: angleproject:3083 Change-Id: Ia04e96d56a2d92ee061f25e7de79b6a1fd3ce4ab Reviewed-on: https://chromium-review.googlesource.com/c/1423519 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
1 parent 7403dd2 commit bf43372

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@
88
**/shaders/gen/*.inc eol=lf
99
*.sh eol=lf
1010
*.gn eol=lf
11+
12+
# Git conflict markers in the json file break the code generator.
13+
# Using a binary merge strategy forces a conflict without changing the file.
14+
scripts/run_code_generation_hashes.json merge=binary

0 commit comments

Comments
 (0)