bugfix branch specifier (don't default to master)

This commit is contained in:
riscy 2020-06-14 14:51:54 -07:00
parent 2b3a0ecfd1
commit 3ddf042c16
2 changed files with 4 additions and 3 deletions

View file

@ -282,7 +282,7 @@ OBJECTS are objects to interpolate into the string using `format'."
;; check whether FILENAMEs can be simply loaded (TODO: offer backtrace)
(melpazoid-insert "\n### Loadability ###\n")
(melpazoid-insert "Checking ability to #'load each file:")
(melpazoid-insert "Verifying ability to #'load each file:")
(melpazoid-insert "```")
(let ((filename nil) (filenames (directory-files ".")))
(while filenames

View file

@ -654,8 +654,9 @@ def _clone(repo: str, into: str, branch: str, fetcher: str = 'github') -> bool:
# If a package's repository doesn't use the master branch, then the
# MELPA recipe must specify the branch using the :branch keyword
# https://github.com/melpa/melpa/pull/6712
options = ['--branch', branch if branch else 'master']
options += ['--single-branch']
options = ['--single-branch']
if branch:
options += ['--branch', branch]
if fetcher in {'github', 'gitlab', 'bitbucket'}:
options += ['--depth', '1']
elif scm == 'hg':