From 4c560aa94b7cbeabb3c6d10df2a5db30e22fe84f Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Mon, 26 Apr 2010 20:11:00 -0400 Subject: [PATCH] git log --format= isn't in older git, but git log --pretty=format: is. Signed-off-by: Avery Pennarun --- format-subst.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format-subst.pl b/format-subst.pl index e04e123..8b834c4 100755 --- a/format-subst.pl +++ b/format-subst.pl @@ -19,7 +19,7 @@ while (<>) { s{ \$Format:([^\$].*)\$ }{ - fix(`git log -1 --format="$1"`) + fix(`git log -1 --pretty=format:"$1"`) }ex; print; } -- 2.39.2