File: enable-ie-git-diff

package info (click to toggle)
gemrb 0.8.5-1
  • links: PTS, VCS
  • area: contrib
  • in suites: buster
  • size: 32,476 kB
  • sloc: cpp: 125,206; python: 31,280; ansic: 2,012; objc: 756; sh: 568; makefile: 467; perl: 178; java: 105
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