File: enable-ie-git-diff

package info (click to toggle)
gemrb 0.9.0%2Bdfsg-1
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 20,168 kB
  • sloc: cpp: 127,105; python: 30,385; ansic: 2,526; objc: 733; sh: 315; java: 105; perl: 98; xml: 69; makefile: 5
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