projects
/
catagits/Gitalist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Default ::Object attributes tree_sha1 and comment to '' when not present.
[catagits/Gitalist.git]
/
lib
/
Gitalist
/
Git
/
Project.pm
diff --git
a/lib/Gitalist/Git/Project.pm
b/lib/Gitalist/Git/Project.pm
index
bfb92fa
..
7f25e9c
100644
(file)
--- a/
lib/Gitalist/Git/Project.pm
+++ b/
lib/Gitalist/Git/Project.pm
@@
-301,7
+301,8
@@
The keys for each item will be:
my @out = $self->raw_diff(
( $patch ? '--patch-with-raw' : () ),
- $parent, $commit->sha1, @etc,
+ ( $parent ? $parent : () ),
+ $commit->sha1, @etc,
);
# XXX Yes, there is much wrongness having parse_diff_tree be destructive.