Skip to content

Commit 1dc6752

Browse files
committed
share .gitattributes, so the custom binary diff generator is simpler to set up
1 parent c436b5d commit 1dc6752

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.gitattributes

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.bcs diff=ie
2+
*.chu diff=ie
3+
*.pro diff=ie
4+
*.spl diff=ie
5+
*.vvc diff=ie

admin/enable-ie-git-diff

+2-11
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,9 @@
33
# output diffs of text dumps of the binary files it supports instead of just skipping
44
# them.
55

6-
#1. Install either.
6+
#1. Install either tool.
77

8-
#2. Register the blob types
9-
cat >> .gitattributes <<-"IE"
10-
*.bcs diff=ie
11-
*.chu diff=ie
12-
*.pro diff=ie
13-
*.spl diff=ie
14-
*.vvc diff=ie
15-
IE
16-
17-
#3. Define the new diff driver and optionally make it cache the results:
8+
#2. Define the new diff driver and optionally make it cache the results:
189
# NOTE: use the correct path if the binary is not in the system path!
1910

2011
cat >> .git/config <<-"IE"

0 commit comments

Comments
 (0)