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 b4de99a19cd90a1c51ab9d5990754ac1f1c7d215..05e95dfb131e99173554bfc1de260101efe0ab5f 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;