update packages
This commit is contained in:
@@ -62,7 +62,7 @@ has to be used to view and change remote related variables."
|
||||
|
||||
;;; Commands
|
||||
|
||||
;;;###autoload (autoload 'magit-remote "magit-remote" nil t)
|
||||
;;;###autoload(autoload 'magit-remote "magit-remote" nil t)
|
||||
(transient-define-prefix magit-remote (remote)
|
||||
"Add, configure or remove a remote."
|
||||
:man-page "git-remote"
|
||||
@@ -175,8 +175,8 @@ the now stale refspecs. Other stale branches are not removed."
|
||||
stale)
|
||||
(dolist (refspec refspecs)
|
||||
(when (string-match magit--refspec-re refspec)
|
||||
(let ((theirs (match-string 2 refspec))
|
||||
(ours (match-string 3 refspec)))
|
||||
(let ((theirs (match-str 2 refspec))
|
||||
(ours (match-str 3 refspec)))
|
||||
(unless (if (string-match "\\*" theirs)
|
||||
(let ((re (replace-match ".*" t t theirs)))
|
||||
(seq-some (##string-match-p re %) remote-refs))
|
||||
@@ -253,7 +253,7 @@ Delete the symbolic-ref \"refs/remotes/<remote>/HEAD\"."
|
||||
(interactive (list (magit-read-remote "Unset HEAD for remote")))
|
||||
(magit-run-git "remote" "set-head" remote "--delete"))
|
||||
|
||||
;;;###autoload (autoload 'magit-update-default-branch "magit-remote" nil t)
|
||||
;;;###autoload(autoload 'magit-update-default-branch "magit-remote" nil t)
|
||||
(transient-define-suffix magit-update-default-branch ()
|
||||
"Update name of the default branch after upstream changed it."
|
||||
:description "Update default branch"
|
||||
@@ -305,7 +305,7 @@ refspec."
|
||||
|
||||
;;; Configure
|
||||
|
||||
;;;###autoload (autoload 'magit-remote-configure "magit-remote" nil t)
|
||||
;;;###autoload(autoload 'magit-remote-configure "magit-remote" nil t)
|
||||
(transient-define-prefix magit-remote-configure (remote)
|
||||
"Configure a remote."
|
||||
:man-page "git-remote"
|
||||
@@ -393,4 +393,15 @@ refspec."
|
||||
|
||||
;;; _
|
||||
(provide 'magit-remote)
|
||||
;; Local Variables:
|
||||
;; read-symbol-shorthands: (
|
||||
;; ("and$" . "cond-let--and$")
|
||||
;; ("and>" . "cond-let--and>")
|
||||
;; ("and-let" . "cond-let--and-let")
|
||||
;; ("if-let" . "cond-let--if-let")
|
||||
;; ("when-let" . "cond-let--when-let")
|
||||
;; ("while-let" . "cond-let--while-let")
|
||||
;; ("match-string" . "match-string")
|
||||
;; ("match-str" . "match-string-no-properties"))
|
||||
;; End:
|
||||
;;; magit-remote.el ends here
|
||||
|
||||
Reference in New Issue
Block a user