Skip to content

Commit

Permalink
share .gitattributes, so the custom binary diff generator is simpler …
Browse files Browse the repository at this point in the history
…to set up
  • Loading branch information
lynxlynxlynx committed Jan 29, 2013
1 parent c436b5d commit 1dc6752
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
@@ -0,0 +1,5 @@
*.bcs diff=ie
*.chu diff=ie
*.pro diff=ie
*.spl diff=ie
*.vvc diff=ie
13 changes: 2 additions & 11 deletions admin/enable-ie-git-diff
Expand Up @@ -3,18 +3,9 @@
# output diffs of text dumps of the binary files it supports instead of just skipping
# them.

#1. Install either.
#1. Install either tool.

#2. Register the blob types
cat >> .gitattributes <<-"IE"
*.bcs diff=ie
*.chu diff=ie
*.pro diff=ie
*.spl diff=ie
*.vvc diff=ie
IE

#3. Define the new diff driver and optionally make it cache the results:
#2. Define the new diff driver and optionally make it cache the results:
# NOTE: use the correct path if the binary is not in the system path!

cat >> .git/config <<-"IE"
Expand Down

0 comments on commit 1dc6752

Please sign in to comment.