Escape for-each-ref format differently
Escape for-each-ref format differently

--- a/include/git/Project.class.php
+++ b/include/git/Project.class.php
@@ -1156,7 +1156,7 @@
 		$exe = new GitPHP_GitExe($this);
 
 		$args = array();
-		$args[] = '--format=\\%\\(committer\\)';
+		$args[] = '--format="%(committer)"';
 		$args[] = '--sort=-committerdate';
 		$args[] = '--count=1';
 		$args[] = 'refs/heads';

comments