GNU bug report logs -
#45187
git download defaults to origin/master
Previous Next
Full log
View this message in rfc822 format
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".
This bug report was last modified 4 years and 120 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.