Home Home > GIT Browse
summaryrefslogtreecommitdiff
blob: 4c596030d886a3a03e9d9a9f6efc7ff9d933c2be (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
# list symset files in a symsets-*.tar.gz file in a form suitable for
# diffing. To install this script as a text conversion filter for git diff:
#
# git config diff.symsets.textconv scripts/list-symsets
# echo 'symsets-*.tar.gz diff=symsets' >>.git/info/attributes

tar tzf "$@" | sed -r 's:symsets-.*-([^-]*)/:symsets-*-\1/:' | sort