Changeset 478083e


Ignore:
Timestamp:
02/02/12 00:26:32 (4 months ago)
Author:
Jonathan Creasy <jcreasy@…>
Branches:
master
Children:
abe6776
Parents:
3286322
git-author:
Jonathan Creasy <jcreasy@…> (02/02/12 00:26:32)
git-committer:
Jonathan Creasy <jcreasy@…> (02/02/12 00:26:32)
Message:

Found a potential configuration where this class would create an inavlid git-commit command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • classes/phing/tasks/ext/git/GitCommitTask.php

    r3286322 r478083e  
    5555        if (null === $this->getTargetPath()) { 
    5656            throw new BuildException('"targetPath" is required parameter'); 
     57        } 
     58 
     59        if ($this->allFiles !== true && empty($this->files)) 
     60        { 
     61                throw new BuildException('"allFiles" cannot be false if no files are specified.'); 
    5762        } 
    5863 
Note: See TracChangeset for help on using the changeset viewer.