#! /bin/sh
#
# git-eternal-move FROM TO
#
set -euf
if test $# -ne 2; then
  echo 'Error 1: You are made of stupid!' >&2
  exit 23
fi
exec git filter-branch --tree-filter "
  set -euf
  if test -e '$1'; then
    mv '$1' '$2'
  fi"