summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fixdates.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/fixdates.sh b/fixdates.sh
index 2b23944..fc7f32a 100644
--- a/fixdates.sh
+++ b/fixdates.sh
@@ -4,7 +4,7 @@ thisdir="$(cd "$(dirname "$0")";pwd)"
cd "$thisdir"
git ls-files -z | \
while read -d $'\0' filename; do
- date="$(git-log -n 1 --pretty='format:%ct' -- "$filename")"
+ date="$(git log -n 1 --pretty='format:%ct' -- "$filename")"
if [[ -n "$date" ]]; then
echo "updating <$filename> to date <$date>"
touch -d @"$date" "$filename"