Permalink
Browse files

git log --format= isn't in older git, but git log --pretty=format: is.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
  • Loading branch information...
1 parent e97b768 commit 4c560aa94b7cbeabb3c6d10df2a5db30e22fe84f @apenwarr committed Apr 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 format-subst.pl
View
@@ -19,7 +19,7 @@ ($)
s{
\$Format:([^\$].*)\$
}{
- fix(`git log -1 --format="$1"`)
+ fix(`git log -1 --pretty=format:"$1"`)
}ex;
print;
}

0 comments on commit 4c560aa

Please sign in to comment.