projects
/
catagits/Gitalist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
The heads aren't real objects, just a data structure. Exclude them from serialization...
[catagits/Gitalist.git]
/
lib
/
Gitalist
/
Git
/
Repository.pm
diff --git
a/lib/Gitalist/Git/Repository.pm
b/lib/Gitalist/Git/Repository.pm
index
5818fb5
..
5e27b6f
100644
(file)
--- a/
lib/Gitalist/Git/Repository.pm
+++ b/
lib/Gitalist/Git/Repository.pm
@@
-63,7
+63,9
@@
class Gitalist::Git::Repository with Gitalist::Git::HasUtils {
);
has heads => ( isa => ArrayRef[HashRef],
is => 'ro',
- lazy_build => 1);
+ lazy_build => 1,
+ traits => [qw/ DoNotSerialize /],
+ );
has tags => ( isa => ArrayRef[HashRef],
is => 'ro',
lazy_build => 1);