Reverting broken change to ::Project::diff.
Zachary Stevens [Sun, 8 Nov 2009 21:55:03 +0000 (21:55 +0000)]
lib/Gitalist/Git/Project.pm

index 69eaf84..b0d45a8 100644 (file)
@@ -306,8 +306,8 @@ The keys for each item will be:
         );
 
         my @out = $self->raw_diff(
-            \(( $patch ? '--patch-with-raw' : () ),
-            $parent, $commit->sha1, @etc )
+            ( $patch ? '--patch-with-raw' : () ),
+            $parent, $commit->sha1, @etc,
         );
 
         # XXX Yes, there is much wrongness having parse_diff_tree be destructive.