diff --git a/classes/phing/tasks/ext/git/GitCommitTask.php b/classes/phing/tasks/ext/git/GitCommitTask.php
index <HASH>..<HASH> 100644
--- a/classes/phing/tasks/ext/git/GitCommitTask.php
+++ b/classes/phing/tasks/ext/git/GitCommitTask.php
@@ -48,10 +48,6 @@ class GitCommitTask extends GitBaseTask
      */
     public function main()
     {
-        if (null === $this->getRepository()) {
-            throw new BuildException('"repository" is required parameter');
-        }
-
         if (null === $this->getTargetPath()) {
             throw new BuildException('"targetPath" is required parameter');
         }
No repository in this one, not sure why that seemed to work before