Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use run(:cwd(...)) in contributors.pl6, ugexe++
  • Loading branch information
moritz committed Jul 24, 2015
1 parent 814ea11 commit de3420e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/contributors.pl6
Expand Up @@ -23,8 +23,8 @@ say
sub get-committers($repo, $since) {
return Empty unless $repo.IO.d && "$repo/.git".IO.d;

gather for shell(:out,
"cd $repo; git log --since=$since --pretty='format:%an|%cn|%H|%s'"
gather for shell(:out, :cwd($repo),
"git log --since=$since --pretty='format:%an|%cn|%H|%s'"
).out.lines.grep(?*) -> $line { # grep needed because of (Str) on empty pipe

my ($author,$committer,$id,$msg) = $line.split('|',4);
Expand Down

0 comments on commit de3420e

Please sign in to comment.