Date:2013-09-29 02:15:56 (6 years 1 month ago)
Author:Werner Almesberger
Commit:a2a7293ef6e59543373fd8011016ace41fd2b8a9
Message:bin/authors: only include files that still exist

Files: bin/authors (2 diffs)

Change Details

bin/authors
1313
1414$WIDTH = 79;
1515
16open(LOG, "git ls-files |") || die "popen ls-files";
17while (<LOG>) {
18    chop;
19    $e{$_} = 1;
20}
21close LOG;
22
1623open(LOG, "git log --format='%an <%ae>' --name-only --no-merges |") ||
1724   die "popen log";
1825while (<LOG>) {
...... 
2229        undef $last;
2330        next;
2431    }
25    if (defined $last) {
32    if (defined $e{$last}) {
2633        push @{ $f{$last} }, $a;
2734        $a{$a} = 1;
2835    }
2936    $last = $_;
3037}
31if (defined $last) {
38if (defined $e{$last}) {
3239    push @{ $f{$last} }, $a;
3340    $a{$a} = 1;
3441}

Archive Download the corresponding diff file

Branches:
master



interactive