File: enable-ie-git-diff

package info (click to toggle)
gemrb 0.9.4%2Bdfsg-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 21,960 kB
  • sloc: cpp: 140,145; python: 30,926; ansic: 4,405; objc: 731; sh: 311; java: 105; xml: 69; makefile: 7
file content (16 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#If you have ieparse (from ie_shell) or ielister, you can make git diff/log/show
# output diffs of text dumps of the binary files it supports instead of just skipping
# them.

#1. Install either tool.

#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"
[diff "ie"]
  textconv = ielister
  cachetextconv = true
IE