Skip to content

Instantly share code, notes, and snippets.

@wezm
Created February 13, 2010 06:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save wezm/303277 to your computer and use it in GitHub Desktop.
#!/bin/sh
for i in `jot 964`; do
revision="-r1.$i"
message=`rlog $revision ../GENERIC | grep -A1 '^date:' | grep -v '^date:'`
co -p $revision ../GENERIC >GENERIC
if [ $i -eq 1 ]; then
git add GENERIC
fi
git commit --allow-empty -m "$message" GENERIC
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment