Fix bug in Git_Tree::construct() involving array paths.
commit1dd339c3af0df254791fa623b5d4ea28227c9fc8
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Sun, 20 Jul 2008 01:43:30 +0000 (19 21:43 -0400)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Sun, 20 Jul 2008 01:43:30 +0000 (19 21:43 -0400)
tree229085e92c4a6e011460fbfa91e8770008e065be
parent8979283bc2986ac53ba8499ccfe9375e89072902
Fix bug in Git_Tree::construct() involving array paths.

Python has the ability to pass magical arguments using * and **. I didn't
realize this when originally porting, so the arguments are passed wrong in
the PHP version. Note, calling __call() directly is a bit hacky, although
it is closest to the Python semantics.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
library/Git/Tree.php
tests/Git/TreeTest.php