aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LXRng/Repo/Git/Directory.pm
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@lxr.linpro.no>2008-08-21 21:38:00 +0200
committerArne Georg Gleditsch <argggh@lxr.linpro.no>2008-08-21 21:38:00 +0200
commit52cab08b9bb06bcc822b4e8d99455e693b8b64ae (patch)
treea6fc75d2c5f18b98213e4d126c9aab7a73110fa8 /lib/LXRng/Repo/Git/Directory.pm
parent17034adefacae12d6522eecc4a9e1f6ad04430fc (diff)
parent7ee74cd1dd28ee902582e71cf8d3ebddd06c0599 (diff)
Merge branch 'master' of /home/argggh/git/lxrng/
Diffstat (limited to 'lib/LXRng/Repo/Git/Directory.pm')
-rw-r--r--lib/LXRng/Repo/Git/Directory.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LXRng/Repo/Git/Directory.pm b/lib/LXRng/Repo/Git/Directory.pm
index 6b24214..cf46915 100644
--- a/lib/LXRng/Repo/Git/Directory.pm
+++ b/lib/LXRng/Repo/Git/Directory.pm
@@ -60,7 +60,7 @@ sub contents {
my (@dirs, @files);
while (<$git>) {
chomp;
- my ($mode, $type, $ref, $node) = split(" ", $_);
+ my ($mode, $type, $ref, $node) = split(" ", $_, 4);
if ($type eq 'tree') {
push(@dirs, LXRng::Repo::Git::Directory->new($$self{'repo'},
$prefix.$node,