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& \210\302\323\304\305\324DD\325\310\326\312\327\314\315\330\331\332\333&
\210\302\334\304\305\335DD\336\310\337\312\340\314\341& \210\302\342\304\305\343DD\344\310\345\312\346\314\322& \207" [require magit custom-declare-variable magit-module-sections-hook funcall function #[0 "\300\207" [(magit-insert-modules-overview magit-insert-modules-unpulled-from-upstream magit-insert-modules-unpulled-from-pushremote magit-insert-modules-unpushed-to-upstream magit-insert-modules-unpushed-to-pushremote)] 1] "Hook run by `magit-insert-modules'.\n\nThat function isn't part of `magit-status-sections-hook's default\nvalue, so you have to add it yourself for this hook to have any\neffect." :package-version (magit . "2.11.0") :group magit-status :type hook magit-module-sections-nested #[0 "\300\207" [t] 1] "Whether `magit-insert-modules' wraps inserted sections.\n\nIf this is non-nil, then only a single top-level section\nis inserted. If it is nil, then all sections listed in\n`magit-module-sections-hook' become top-level sections." (magit . "2.11.0") boolean magit-submodule-list-mode-hook #[0 "\300\207" [(hl-line-mode)] 1] "Hook run after entering Magit-Submodule-List mode." (magit . "2.9.0") magit-repolist :get magit-hook-custom-get :options (hl-line-mode) magit-submodule-list-columns #[0 "\300\207" [(("Path" 25 magit-modulelist-column-path nil) ("Version" 25 magit-repolist-column-version nil) ("Branch" 20 magit-repolist-column-branch nil) ("B<U" 3 magit-repolist-column-unpulled-from-upstream ((:right-align t))) ("B>U" 3 magit-repolist-column-unpushed-to-upstream ((:right-align t))) ("B<P" 3 magit-repolist-column-unpulled-from-pushremote ((:right-align t))) ("B>P" 3 magit-repolist-column-unpushed-to-pushremote ((:right-align t))) ("B" 3 magit-repolist-column-branches ((:right-align t))) ("S" 3 magit-repolist-column-stashes ((:right-align t))))] 1] "List of columns displayed by `magit-list-submodules'.\n\nEach element has the form (HEADER WIDTH FORMAT PROPS).\n\nHEADER is the string displayed in the header. WIDTH is the width\nof the column. FORMAT is a function that is called with one\nargument, the repository identification (usually its basename),\nand with `default-directory' bound to the toplevel of its working\ntree. It has to return a string to be inserted or nil. PROPS is\nan alist that supports the keys `:right-align' and `:pad-right'." (magit . "2.8.0") magit-repolist-mode (repeat (list :tag "Column" (string :tag "Header Label") (integer :tag "Column Width") (function :tag "Inserter Function") (repeat :tag "Properties" (list (choice :tag "Property" (const :right-align) (const :pad-right) (symbol)) (sexp :tag "Value"))))) magit-submodule-remove-trash-gitdirs #[0 "\300\207" [nil] 1] "Whether `magit-submodule-remove' offers to trash module gitdirs.\n\nIf this is nil, then that command does not offer to do so unless\na prefix argument is used. When this is t, then it does offer to\ndo so even without a prefix argument.\n\nIn both cases the action still has to be confirmed unless that is\ndisabled using the option `magit-no-confirm'. Doing the latter\nand also setting this variable to t will lead to tears." (magit . "2.90.0") magit-commands] 14) |
|
16 |
#@59 Popup console for submodule commands. |
|
17 |
|
|
18 |
(fn &optional ARG) |
|
19 |
(defalias 'magit-submodule-popup #[256 "\300\301\302#\207" [magit-invoke-popup magit-submodule-popup nil] 5 (#$ . 3739) "P"]) |
|
20 |
(defvar magit-submodule-popup (list :variable 'magit-submodule-arguments :man-page "git-submodule" :switches '((102 "Force" "--force") (114 "Recursive" "--recursive") (78 "Do not fetch" "--no-fetch") (67 "Checkout tip" "--checkout") (82 "Rebase onto tip" "--rebase") (77 "Merge tip" "--merge") (85 "Use upstream tip" "--remote")) :actions '((97 "Add git submodule add [--force]" magit-submodule-add) (114 "Register git submodule init" magit-submodule-register) (112 "Populate git submodule update --init" magit-submodule-populate) (117 "Update git submodule update [--force] [--no-fetch]\n [--remote] [--recursive] [--checkout|--rebase|--merge]" magit-submodule-update) (115 "Synchronize git submodule sync [--recursive]" magit-submodule-synchronize) (100 "Unpopulate git submodule deinit [--force]" magit-submodule-unpopulate) (107 "Remove" magit-submodule-remove) nil (108 "List all modules" magit-list-submodules) (102 "Fetch all modules" magit-fetch-modules)) :max-action-columns 1)) |
|
21 |
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\207" [magit-define-popup-keys-deferred magit-submodule-popup custom-declare-variable magit-submodule-arguments funcall function #[0 "\301\302\"\207" [magit-submodule-popup plist-get :default-arguments] 3] "" :group magit-git-arguments :type (repeat (string :tag "Argument"))] 8) |
|
22 |
(defalias 'magit-submodule-arguments #[0 "\303=\203 \207\n\207" [magit-current-popup magit-current-popup-args magit-submodule-arguments magit-submodule-popup] 2]) |
|
23 |
(put 'magit-submodule-arguments 'definition-name 'magit-submodule-popup) |
|
24 |
#@22 |
|
25 |
|
|
26 |
(fn &rest FILTERS) |
|
27 |
(defalias 'magit-submodule-filtered-arguments #[128 "\300\301 \302\203% @\211\235\203 \211\203 \211B\262\210\211T\262A\262\202 \266\211\237\207" [nil magit-submodule-arguments 0] 7 (#$ . 5565)]) |
|
28 |
#@309 Add the repository at URL as a module. |
|
29 |
|
|
30 |
Optional PATH is the path to the module relative to the root of |
|
31 |
the superproject. If it is nil, then the path is determined |
|
32 |
based on the URL. Optional NAME is the name of the module. If |
|
33 |
it is nil, then PATH also becomes the name. |
|
34 |
|
|
35 |
(fn URL &optional PATH NAME ARGS) |
|
36 |
(defalias 'magit-submodule-add #[1025 "\302 \211\2035 \211\303\"\210\304\305\306\205 \307D\310\n\n&\210\311 \312\313\314\315\316\n!\317\"\320\321%\")\2027 \322 \207" [default-directory magit-this-process magit-toplevel magit-submodule--maybe-reuse-gitdir magit-run-git-async "submodule" "add" "--name" "--" set-process-sentinel make-byte-code 514 "\301!\302>\2050 \303!\304V\203 \305\"\207\306\307\310#\210\305\"\210\311\312 \313\"\204. \314\315\316\300#\210\317 \207" vconcat vector [process-status (exit signal) process-exit-status 0 magit-process-sentinel process-put inhibit-refresh t version< magit-git-version "2.12.0" magit-call-git "submodule" "absorbgitdirs" magit-refresh] 6 "\n\n(fn PROCESS EVENT)" magit--not-inside-repository-error] 13 (#$ . 5800) (byte-code "\302 \211\203G \211\303\304! \305=\204 \306\305 \"\203 \307\202 \310\311\312\313\314\211\211\315\316 \"\2052 \317\320 \"%!!)\310!\321!\322\323!F\266\202)\202I \324 \207" [default-directory read-file-name-function magit-toplevel magit-read-string-ns "Add submodule (remote url)" ido-read-file-name advice-function-member-p read-file-name-default directory-file-name file-relative-name read-directory-name "Add submodules at path: " nil string-match "\\([^./]+\\)\\(\\.git\\)?$" match-string 1 magit-submodule-read-name-for-path magit-submodule-filtered-arguments "--force" magit--not-inside-repository-error] 12)]) |
|
37 |
#@36 |
|
38 |
|
|
39 |
(fn PATH &optional PREFER-SHORT) |
|
40 |
(defalias 'magit-submodule-read-name-for-path #[513 "\301\302!!\303!\203 \202 \211B\304\305\306\300\307B\306\310\311\312\313\314$\315\203] @\316\317\"\211@A\211@A\232\205C \316\320\"A@\266\202\266\205\211\203P \211B\262\266\211T\262A\262\202\" |