chiark / gitweb /
dgit: Add a couple of comments
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Sep 2016 11:14:51 +0000 (12:14 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Sep 2016 12:27:59 +0000 (13:27 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index af3a96a5b824ad2577460c1ede775ca408d9833e..5fecf290fca31e8cde479562369beed1f1f647ae 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1802,8 +1802,9 @@ sub mergeinfo_version ($) {
 }
 
 sub fetch_from_archive () {
-    # ensures that lrref() is what is actually in the archive,
-    #  one way or another
+    # Ensures that lrref() is what is actually in the archive,
+    #  one way or another.  If there is nothing in the archive,
+    #  leaves lrref alone and returns 0.
     get_archive_dsc();
 
     if ($dsc) {
@@ -2617,6 +2618,8 @@ END
        $changesfile = "$buildproductsdir/$changesfile";
     }
 
+    # Checks complete, we're going to try and go ahead:
+
     responder_send_file('changes',$changesfile);
     responder_send_command("param head $dgithead");
     responder_send_command("param csuite $csuite");