#!/bin/sh
# .githooks/utc-restamp BASE: date the commits after BASE in UTC, for
# when the hooks couldn't (a run of cherry-picks; commits made before
# core.hooksPath was set). Same instants; history before BASE untouched.
set -e
[ -n "$1" ] || { echo "usage: $0 BASE (a commit, or --root)" >&2; exit 2; }
. "$(dirname "$0")/utc.sh"
utc_restamp "$1"
