X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topbloke.git;a=blobdiff_plain;f=tb-update.pl;h=58e7d602470c23c11766b39edd1322ba44584694;hp=d5eed35a5f52c796af1a2d918c4d48bc1379df94;hb=a2bee3f9f4ecc497a19a96a2f6b1264a1f9809e7;hpb=3ec6b37d1ae4571c56e8f228817ba829ac2ef3bc diff --git a/tb-update.pl b/tb-update.pl index d5eed35..58e7d60 100755 --- a/tb-update.pl +++ b/tb-update.pl @@ -145,6 +145,16 @@ sub update_base ($) { next if $source_inc{$dep}; unless unless $anc_inc{$dep}; my $unw_dr = { Name => $dep }; + + + # Algorithm + # We do a history graph walk. + # In each iteration we get git-rev-list to find us + # one commit. + + # We get git-rev-list to find us + send us a series of commits + # We look up each one. my @prune; my $pruned = sub { my ($commit) = @_;