From df37ada9a545c6b910cec49f4ece996be152237a Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Sun, 13 Sep 2009 12:26:27 +0000 Subject: use 'git log' instead of 'git-log' --- fixdates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3