Kyle Meyer writes: > @@ -356,6 +360,7 @@ (define* (update-cached-checkout url > > REF is pair whose key is [branch | commit | tag | tag-or-commit ] and value > the associated data: [<branch name> | <sha1> | <tag name> | <string>]. > +IF REF is the empty list, the remote HEAD is used.
Sorry, here and ... > @@ -433,12 +439,13 @@ (define* (latest-repository-commit store url > (log-port (%make-void-port "w")) > (cache-directory > (%repository-cache-directory)) > - (ref '(branch . "master"))) > + (ref '())) > "Return two values: the content of the git repository at URL copied into a > store directory and the sha1 of the top level commit in this directory. The > reference to be checkout, once the repository is fetched, is specified by > REF. > REF is pair whose key is [branch | commit | tag] and value the associated > -data, respectively [<branch name> | <sha1> | <tag name>]. > +data, respectively [<branch name> | <sha1> | <tag name>]. IF REF is the > empty > +list, the remote HEAD is used. ... here should say "If" rather than "IF".