;ELC���
;;; Compiled
;;; in Emacs version 28.0.50
;;; with all optimizations.



(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313\314\315&	\207" [require magit custom-declare-variable magit-pull-or-fetch funcall function #[0 "\300\207" [nil] 1] "Whether `magit-pull' also offers some fetch suffixes." :package-version (magit . "3.0.0") :group magit-commands :type boolean] 10)
(defalias 'magit-pull #[0 "\300\301\302\211\303\304 %\207" [transient-setup magit-pull nil :scope magit-get-current-branch] 6 nil nil])
(byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\301\306\307\310\301\311\312$#\210\300\301\313\314#\207" [put magit-pull interactive-only t function-documentation "Pull from another repository." transient--prefix transient-prefix :command :man-page "git-pull" transient--layout ([1 transient-column (:description (lambda nil (if magit-pull-or-fetch "Pull arguments" "Arguments"))) ((1 transient-switch (:key "-r" :description "Rebase local commits" :shortarg "-r" :argument "--rebase" :command transient:magit-pull:--rebase)) (7 transient-switch (:key "-A" :description "Autostash" :argument "--autostash" :command transient:magit-pull:--autostash)))] [1 transient-column (:description (lambda nil (if-let ((branch (magit-get-current-branch))) (concat (propertize "Pull into " 'face 'transient-heading) (propertize branch 'face 'magit-branch-local) (propertize " from" 'face 'transient-heading)) (propertize "Pull from" 'face 'transient-heading)))) ((1 transient-suffix (:key "p" :command magit-pull-from-pushremote)) (1 transient-suffix (:key "u" :command magit-pull-from-upstream)) (1 transient-suffix (:key "e" :description "elsewhere" :command magit-pull-branch)))] [1 transient-column (:description "Fetch from" :if-non-nil magit-pull-or-fetch) ((1 transient-suffix (:key "f" :description "remotes" :command magit-fetch-all-no-prune)) (1 transient-suffix (:key "F" :description "remotes and prune" :command magit-fetch-all-prune)))] [1 transient-column (:description "Fetch" :if-non-nil magit-pull-or-fetch) ((1 transient-suffix (:key "o" :description "another branch" :command magit-fetch-branch)) (1 transient-suffix (:key "s" :description "explicit refspec" :command magit-fetch-refspec)) (1 transient-suffix (:key "m" :description "submodules" :command magit-fetch-modules)))] [1 transient-column (:description "Configure") ((1 transient-suffix (:key "r" :command magit-branch\.<branch>\.rebase :if magit-get-current-branch)) (1 transient-suffix (:key "C" :description "variables..." :command magit-branch-configure)))])] 8)
(defalias 'magit-pull-arguments #[0 "\300\301!\207" [transient-args magit-pull] 2])
#@13 

(fn ARGS)
(defalias 'magit-pull-from-pushremote #[257 "\300\301!\211\242\243\211\242\243\302\303!\210\304\305	$\207" [magit--select-push-remote "pull from there" run-hooks magit-credential-hook magit-run-git-async "pull"] 13 (#$ . 2666) (byte-code "\300 C\207" [magit-pull-arguments] 1)])
(byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\301\306\307\310\301\311\312\313\314&#\207" [put magit-pull-from-pushremote interactive-only t function-documentation "Pull from the push-remote of the current branch.\n\nWith a prefix argument or when the push-remote is either not\nconfigured or unusable, then let the user first configure the\npush-remote." transient--suffix transient-suffix :command :if magit-get-current-branch :description magit-pull--pushbranch-description] 10)
(defalias 'magit-pull--pushbranch-description #[0 "\300 \301\302\"\303!\304\302\"\206*�\305 \235\203�\306\307\"\207\203&�\306\310\"\207\306\311\"\207" [magit-get-current-branch magit-get-push-branch t magit-get-push-remote magit--push-remote-variable magit-list-remotes format "%s, replacing non-existent" "%s, replacing invalid" "%s, setting that"] 7])
#@13 

(fn ARGS)
(defalias 'magit-pull-from-upstream #[257 "\301 \206�\302\303!\304\305\306#\304\305\307#\204#�\310!\204=�\311\"\204=�\312\313\314\315\"\"\"\210\304\305\306#\262\304\305\307#\262\316\317!\210\320\321$\207" [current-prefix-arg magit-get-current-branch user-error "No branch is checked out" magit-get "branch" "remote" "merge" magit-get-upstream-branch magit--unnamed-upstream-p magit-set-upstream-branch magit-read-upstream-branch format "Set upstream of %s and pull from there" run-hooks magit-credential-hook magit-run-git-with-editor "pull"] 11 (#$ . 3829) (byte-code "\300 C\207" [magit-pull-arguments] 1)])
(byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\301\306\307\310\301\311\312\313\314&#\207" [put magit-pull-from-upstream interactive-only t function-documentation "Pull from the upstream of the current branch.\n\nWith a prefix argument or when the upstream is either not\nconfigured or unusable, then let the user first configure\nthe upstream." transient--suffix transient-suffix :command :if magit-get-current-branch :description magit-pull--upstream-description] 10)
(defalias 'magit-pull--upstream-description #[0 "\300 \211\205J�\301!\206J�\302\303\304#\302\303\305#\306\307\310\"\311\"\203.�\312\313\306\314\"\306\310\"#\207\315\"\2039�\211\316P\207\204A�\203E�\211\317P\207\211\320P\266\203\207" [magit-get-current-branch magit-get-upstream-branch magit-get "branch" "remote" "merge" magit--propertize-face "@{upstream}" bold magit--unnamed-upstream-p format "%s of %s" magit-branch-remote magit--valid-upstream-p ", replacing non-existent" ", replacing invalid" ", setting that"] 10])
#@62 Pull from a branch read in the minibuffer.

(fn SOURCE ARGS)
(defalias 'magit-pull-branch #[514 "\300\301!\210\302!\211\242\243\303\304$\207" [run-hooks magit-credential-hook magit-get-tracked magit-run-git-with-editor "pull"] 12 (#$ . 5492) (byte-code "\300\301\302\211\211\303%\304 D\207" [magit-read-remote-branch "Pull" nil t magit-pull-arguments] 6)])
(provide 'magit-pull)