commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313\314\315& \210\302\316\304\305\317DD\320\310\321\312\313\314\322& \207" [require magit custom-declare-variable magit-remote-add-set-remote\.pushDefault funcall function #[0 "\300\207" [ask-if-unset] 1] "Whether to set the value of `remote.pushDefault' after adding a remote.\n\nIf `ask', then always ask. If `ask-if-unset', then ask, but only\nif the variable isn't set already. If nil, then don't ever set.\nIf the value is a string, then set without asking, provided that\nthe name of the added remote is equal to that string and the\nvariable isn't already set." :package-version (magit . "2.4.0") :group magit-commands :type (choice (const :tag "ask if unset" ask-if-unset) (const :tag "always ask" ask) (string :tag "set if named") (const :tag "don't set")) magit-remote-popup-show-variables #[0 "\300\207" [t] 1] "Whether the `magit-remote-popup' shows Git variables.\nWhen set to nil, no variables are displayed directly in this\npopup, instead the sub-popup `magit-remote-config-popup' has\nto be used to view and change remote related variables." (magit . "2.12.0") boolean] 10) |
|
16 |
#@56 Popup console for remote commands. |
|
17 |
|
|
18 |
(fn &optional ARG) |
|
19 |
(defalias 'magit-remote-popup #[256 "\300\301\302#\207" [magit-invoke-popup magit-remote-popup nil] 5 (#$ . 1565) "P"]) |
|
20 |
(defvar magit-remote-popup (list :variable 'magit-remote-arguments :man-page "git-remote" :default-arguments '("-f") :variables #[0 "\205 \207" [magit-remote-popup-show-variables magit-remote-config-variables] 1] :switches '("Switches for add" (102 "Fetch after add" "-f")) :actions '((97 "Add" magit-remote-add) (67 "Configure..." magit-remote-config-popup) (114 "Rename" magit-remote-rename) (112 "Prune stale branches" magit-remote-prune) (107 "Remove" magit-remote-remove) (80 "Prune stale refspecs" magit-remote-prune-refspecs)) :max-action-columns 2)) |
|
21 |
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\207" [magit-define-popup-keys-deferred magit-remote-popup custom-declare-variable magit-remote-arguments funcall function #[0 "\301\302\"\207" [magit-remote-popup plist-get :default-arguments] 3] "" :group magit-git-arguments :type (repeat (string :tag "Argument"))] 8) |
|
22 |
(defalias 'magit-remote-arguments #[0 "\303=\203 \207\n\207" [magit-current-popup magit-current-popup-args magit-remote-arguments magit-remote-popup] 2]) |
|
23 |
(put 'magit-remote-arguments 'definition-name 'magit-remote-popup) |
|
24 |
#@39 |
|
25 |
|
|
26 |
(fn PROMPT &optional INITIAL-INPUT) |
|
27 |
(defalias 'magit-read-url #[513 "\300\"\301\302\"\203 \303!\202 \211\207" [magit-read-string-ns string-prefix-p "~" expand-file-name] 6 (#$ . 2873)]) |
|
28 |
#@73 Add a remote named REMOTE and fetch it. |
|
29 |
|
|
30 |
(fn REMOTE URL &optional ARGS) |
|
31 |
(defalias 'magit-remote-add #[770 "\301\302!D\303:\205r @\211;\203( A\211:\205# \211A\211?\205! \304\262\262\202p \211\305=\203G A\211:\205B \211A\211?\205@ !\262\262\202p \211\306=\203o A\211:\205j \211@\211?\205h A\211?\205f !\262\262\262\202p \307\262\266\202\203\211 \310\311\312%\210\313\302\"\210\314 \207\315\311\312%\207" [magit-remote-add-set-remote\.pushDefault magit-get "remote.pushDefault" #[257 "\300\301\302\"!\207" [y-or-n-p format "Set `remote.pushDefault' to \"%s\"? "] 5 "\n\n(fn REMOTE)"] t ask ask-if-unset nil magit-call-git "remote" "add" magit-set magit-refresh magit-run-git-async] 11 (#$ . 3073) (byte-code "\300\301!\302\303!\304 E\207" [magit-read-string-ns "Remote name" magit-read-url "Remote url" magit-remote-arguments] 3)]) |
|
32 |
#@51 Rename the remote named OLD to NEW. |
|
33 |
|
|
34 |
(fn OLD NEW) |
|
35 |
(defalias 'magit-remote-rename #[514 "\230?\205 \300\301\302$\210\303\"\210\304 \207" [magit-call-git "remote" "rename" magit-remote--cleanup-push-variables magit-refresh] 7 (#$ . 3941) (byte-code "\300\301!\211\302\303\304\"!D\207" [magit-read-remote "Rename remote" magit-read-string-ns format "Rename %s to"] 6)]) |
|
36 |
#@46 Delete the remote named REMOTE. |
|
37 |
|
|
38 |
(fn REMOTE) |
|
39 |
(defalias 'magit-remote-remove #[257 "\300\301\302#\210\303!\210\304 \207" [magit-call-git "remote" "rm" magit-remote--cleanup-push-variables magit-refresh] 5 (#$ . 4322) (byte-code "\300\301!C\207" [magit-read-remote "Delete remote"] 2)]) |
|
40 |
#@34 |
|
41 |
|
|
42 |
(fn REMOTE &optional NEW-NAME) |
|
43 |
(defalias 'magit-remote--cleanup-push-variables #[513 "\301 \211\203@ \211\302\303!\232\203 \304\303\"\210\305\306\307\310\311\312\313 \"%\211\205: \211@\314\306?\205. \315$\210A\266\202\202 |