Skip to content

Commit

Permalink
Merge a33a45c into 3f434ce
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyromanov committed Mar 11, 2017
2 parents 3f434ce + a33a45c commit 3ac2c64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cogit/Loose.pm
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ sub all_sha1s {
);
return Data::Stream::Bulk::Filter->new(
filter => sub {
[ map { m{([a-z0-9]{2})[/\\]([a-z0-9]{38})}; $1 . $2 }
grep {m{[/\\][a-z0-9]{2}[/\\]}} @$_
[ map { m{[/\\]([a-z0-9]{2})[/\\]([a-z0-9]{38})} ? $1 . $2 : () }
@$_
];
},
stream => $files,
Expand Down

0 comments on commit 3ac2c64

Please sign in to comment.