#!/bin/sh # # gitwash - accept a stream in fast order and canonicalize it. # # FIXME: stop deleting author and committer lines when we fix timezone screwage. # rm -fr /tmp/gitwash* mkdir /tmp/gitwash$$ cd /tmp/gitwash$$ >/dev/null || ( echo "$0: cd failed"; exit 1 ) git init --quiet git fast-import --quiet git fast-export --all | sed -e '/author/d' -e '/committer/d' rm -fr /tmp/gitwash$$ #end