if @rest;
}
-sub diff_plain : Chained('diff') PathPart('plain') Args(0) {}
+sub diff_plain : Chained('diff') PathPart('plain') Args(0) {
+ my($self, $c) = @_;
+ $c->stash->{no_wrapper} = 1;
+}
sub commit : Chained('find') PathPart('commit') Args(0) {}
isa_ok($commit_obj, 'Gitalist::Git::Object::Commit', "commit object");
my ($tree, $patch) = $commit_obj->diff(
parent => undef,
- file => undef,
+ filename => undef,
patch => 1,
);
$patch = $patch->[0];