Merge pull request #4350 from catap/broke-upgrade-loop
upgrade.el: force fetch
This commit is contained in:
commit
2ddba1e7b8
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ following shell commands:
|
||||||
(let (result)
|
(let (result)
|
||||||
(or (zerop (car (doom-call-process "git" "remote" "add" doom-repo-remote doom-repo-url)))
|
(or (zerop (car (doom-call-process "git" "remote" "add" doom-repo-remote doom-repo-url)))
|
||||||
(error "Failed to add %s to remotes" doom-repo-remote))
|
(error "Failed to add %s to remotes" doom-repo-remote))
|
||||||
(or (zerop (car (setq result (doom-call-process "git" "fetch" "--tags" doom-repo-remote (format "%s:%s" branch target-remote)))))
|
(or (zerop (car (setq result (doom-call-process "git" "fetch" "--force" "--tags" doom-repo-remote (format "%s:%s" branch target-remote)))))
|
||||||
(error "Failed to fetch from upstream"))
|
(error "Failed to fetch from upstream"))
|
||||||
|
|
||||||
(let ((this-rev (cdr (doom-call-process "git" "rev-parse" "HEAD")))
|
(let ((this-rev (cdr (doom-call-process "git" "rev-parse" "HEAD")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue