chiark / gitweb /
implement initiator_expect
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 9 Oct 2013 00:45:37 +0000 (01:45 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 9 Oct 2013 00:45:37 +0000 (01:45 +0100)
TODO
dgit

diff --git a/TODO b/TODO
index 5890597..7a3d688 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,3 +1,5 @@
+implement i_resp_*
+
 --gpg= etc. @gpg should be in manual
 should pass @gpg to debsign
 --ssh= etc. @ssh should be in manual
diff --git a/dgit b/dgit
index 8482381..381b731 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -233,7 +233,10 @@ sub responder_receive_files ($@) {
 
 #---------- remote protocol support, initiator ----------
 
-
+sub initiator_expect (&) {
+    my ($match) = @_;
+    protocol_expect \*RO, &$match;
+}
 
 #---------- end remote code ----------