Skip to content

Commit

Permalink
->dump should imply a ->load if we've not done so already
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmv committed Oct 13, 2011
1 parent dcdd01f commit 8a06260
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Config/GitLike.pm
Expand Up @@ -604,6 +604,8 @@ sub get_regexp {
sub dump {
my $self = shift;
$self->load unless $self->is_loaded;
return %{$self->data} if wantarray;
my $data = '';
Expand Down

0 comments on commit 8a06260

Please sign in to comment.