File: xxdiff-git

package info (click to toggle)
xxdiff 1%3A5.0~b1%2Bgit20200622%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,972 kB
  • sloc: cpp: 18,524; python: 6,134; sh: 1,543; ansic: 1,537; perl: 308; lex: 284; yacc: 279; lisp: 250; tcl: 213; makefile: 88
file content (6 lines) | stat: -rwxr-xr-x 413 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
#!/bin/sh
# diff is called by git with 7 parameters:
#echo path old-file old-hex old-mode new-file new-hex new-mode
# essential: /opt/local/bin/xxdiff -w --title1="revision\ $3" --title2="$5" "$2" "$5" | cat
xxdiff -w --title1="revision\ $3" --title2="$5" "$2" "$5" | cat
#xxdiff -w --style platinum --textfont 'Bitstream Vera Sans Mono,11,-1,5,50,0,0,0,0,0' --title1="revision\ $3" --title2="$5" "$2" "$5" | cat