Skip to content

Commit

Permalink
emir-pull: With non-nil FORCE also force update of tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Jun 26, 2024
1 parent d116b88 commit 3e2c640
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion emir.el
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,8 @@ repository specified by variable `epkg-repository'."

(cl-defmethod emir-pull ((pkg epkg-mirrored-package) &optional force)
(with-emir-repository pkg
(magit-git "fetch" "origin")
(magit-git "fetch" "origin"
(and force '("--tags" "--prune-tags" "--force")))
(let ((upstream (concat "origin/" (oref pkg branch))))
(cond
((oref pkg patched)
Expand Down

0 comments on commit 3e2c640

Please sign in to comment.