chiark / gitweb /
wip changes for remote push - check repeated want
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 9 Oct 2013 06:50:25 +0000 (07:50 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 9 Oct 2013 06:50:25 +0000 (07:50 +0100)
dgit

diff --git a/dgit b/dgit
index b4de99a..05e95df 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1446,6 +1446,7 @@ our %i_wanted;
 
 sub i_resp_want ($) {
     my ($keyword) = @_;
+    die "$keyword ?" if $i_wanted{$keyword}++;
     my @localpaths = i_method "i_want_", $keyword;
     foreach my $localpath (@localpaths) {
        protocol_send_file \*RI, $localpath;