What's cooking (2014/06 #02)
[git/jrn.git] / info / main / doit
blobbd61a5532046a3b7e642326dd0338e993b145db1
1 #!/bin/sh
3 HERE=`dirname "$0"`
5 case "$1" in
6 compare | '')
7 diff -u "$HERE/mailmap" .mailmap
8 diff -ru "$HERE/remotes" .git/remotes
9 ;;
10 save)
11 cp .mailmap "$HERE/mailmap"
12 cp -a .git/remotes "$HERE"
14 restore)
15 cp "$HERE/mailmap" .mailmap
16 cp -a "$HERE/remotes" .git/.
19 echo >&2 "usage: $0 [compare|save|restore]"
20 esac