4 lines
201 B
Plaintext
4 lines
201 B
Plaintext
|
#!/bin/sh
|
||
|
# Diff given files against all branches
|
||
|
git for-each-ref --format='%(refname:short)' | while read branch; do { highlight $branch && git diff --color=always $branch..HEAD "$@"; }; done | less
|