mirror of
https://github.com/vale981/melpazoid
synced 2025-03-06 01:41:38 -05:00
bugfix branch specifier (don't default to master)
This commit is contained in:
parent
2b3a0ecfd1
commit
3ddf042c16
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Add table
Reference in a new issue