projects
/
catagits/Gitalist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
635943a
)
The heads aren't real objects, just a data structure. Exclude them from serialization...
Tomas Doran [Mon, 11 Jan 2010 00:06:01 +0000 (
00:06
+0000)]
lib/Gitalist/Git/Repository.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gitalist/Git/Repository.pm
b/lib/Gitalist/Git/Repository.pm
index
e60d803
..
e5a13a2
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);