Debian Codegraph @

tests/gitwash

raw symbols SCIP
1 #!/bin/sh
2 #
3 # gitwash - accept a stream in fast order and canonicalize it.
4 #
5 # FIXME: stop deleting author and committer lines when we fix timezone screwage.
6 #
7 rm -fr /tmp/gitwash*
8 mkdir /tmp/gitwash$$
9 cd /tmp/gitwash$$ >/dev/null || ( echo "$0: cd failed"; exit 1 )
10
11 git init --quiet
12 git fast-import --quiet
13 git fast-export --all | sed -e '/author/d' -e '/committer/d'
14 rm -fr /tmp/gitwash$$
15
16 #end