diff options
author | Arne Georg Gleditsch <argggh@pelargir.(none)> | 2008-07-08 15:24:07 +0200 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@pelargir.(none)> | 2008-07-08 15:24:07 +0200 |
commit | 7ee74cd1dd28ee902582e71cf8d3ebddd06c0599 (patch) | |
tree | a749c72ca3b717b46ff98b8b4bc5b99cda9945cf /lib/LXRng/Repo/Git/Iterator.pm | |
parent | a25f8442450d7e9fb188a979ab0897cb86e9d84f (diff) |
Better support for whitespace in filenames.
Diffstat (limited to 'lib/LXRng/Repo/Git/Iterator.pm')
-rw-r--r-- | lib/LXRng/Repo/Git/Iterator.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LXRng/Repo/Git/Iterator.pm b/lib/LXRng/Repo/Git/Iterator.pm index 702b4ca..418142c 100644 --- a/lib/LXRng/Repo/Git/Iterator.pm +++ b/lib/LXRng/Repo/Git/Iterator.pm @@ -28,7 +28,7 @@ sub new { my @refs; my $git = $repo->_git_cmd('ls-tree', '-r', $release); while (<$git>) { - if (/\S+\s+blob\s+(\S+)\s+(\S+)/) { + if (/\S+\s+blob\s+(\S+)\s+(.+)/) { push(@refs, [$2, $1]); } } |