chiark
/
gitweb
/
~ian
/
topbloke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unwanted dep removal search - difficulties
[topbloke.git]
/
tb-update.pl
diff --git
a/tb-update.pl
b/tb-update.pl
index d5eed35a5f52c796af1a2d918c4d48bc1379df94..58e7d602470c23c11766b39edd1322ba44584694 100755
(executable)
--- 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 };
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) = @_;
my @prune;
my $pruned = sub {
my ($commit) = @_;