]> arthur.barton.de Git - bup.git/commitdiff
git log --format= isn't in older git, but git log --pretty=format: is.
authorAvery Pennarun <apenwarr@gmail.com>
Tue, 27 Apr 2010 00:11:00 +0000 (20:11 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 27 Apr 2010 00:11:32 +0000 (20:11 -0400)
Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
format-subst.pl

index e04e1238965d67c98b901d4f6de8eea3018866f0..8b834c42ea6127432caf9374a42affdba440612f 100755 (executable)
@@ -19,7 +19,7 @@ while (<>) {
     s{ 
        \$Format:([^\$].*)\$
     }{
-       fix(`git log -1 --format="$1"`)
+       fix(`git log -1 --pretty=format:"$1"`)
     }ex;
     print;
 }