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 "\301\302!\210\303\304\305\306\307\310%\210\311\312\313\314\315DD\316\317\320\307\304\321\322& \210\311\323\313\314\324DD\325\317\326\307\304\307\327\321\330\331\332\333\334\335\336\337\"&\207" [magit-log-margin--custom-type require magit custom-declare-group magit-stash nil "List stashes and show stash diffs." :group magit-modes custom-declare-variable magit-stash-sections-hook funcall function #[0 "\300\207" [(magit-insert-stash-notes magit-insert-stash-worktree magit-insert-stash-index magit-insert-stash-untracked)] 1] "Hook run to insert sections into stash diff buffers." :package-version (magit . "2.1.0") :type hook magit-stashes-margin #[0 "@A@\301\302\3038\257\207" [magit-log-margin magit-log-margin-width nil 4] 6] "Format of the margin in `magit-stashes-mode' buffers.\n\nThe value has the form (INIT STYLE WIDTH AUTHOR AUTHOR-WIDTH).\n\nIf INIT is non-nil, then the margin is shown initially.\nSTYLE controls how to format the committer date. It can be one\n of `age' (to show the age of the commit), `age-abbreviated' (to\n abbreviate the time unit to a character), or a string (suitable\n for `format-time-string') to show the actual date.\nWIDTH controls the width of the margin. This exists for forward\n compatibility and currently the value should not be changed.\nAUTHOR controls whether the name of the author is also shown by\n default.\nAUTHOR-WIDTH has to be an integer. When the name of the author\n is shown, then this specifies how much space is used to do so." (magit . "2.9.0") magit-margin :initialize magit-custom-initialize-reset :set-after (magit-log-margin) :set apply-partially magit-margin-set-variable magit-stashes-mode] 20) |
|
16 |
#@55 Popup console for stash commands. |
|
17 |
|
|
18 |
(fn &optional ARG) |
|
19 |
(defalias 'magit-stash-popup #[256 "\300\301\302#\207" [magit-invoke-popup magit-stash-popup nil] 5 (#$ . 2103) "P"]) |
|
20 |
(defvar magit-stash-popup (list :variable 'magit-stash-arguments :man-page "git-stash" :switches '((117 "Also save untracked files" "--include-untracked") (97 "Also save untracked and ignored files" "--all")) :actions '((122 "Save" magit-stash-both) (90 "Snapshot" magit-snapshot-both) (112 "Pop" magit-stash-pop) (105 "Save index" magit-stash-index) (73 "Snapshot index" magit-snapshot-index) (97 "Apply" magit-stash-apply) (119 "Save worktree" magit-stash-worktree) (87 "Snapshot worktree" magit-snapshot-worktree) (108 "List" magit-stash-list) (120 "Save keeping index" magit-stash-keep-index) (114 "Snapshot to wipref" magit-wip-commit) (118 "Show" magit-stash-show) (98 "Branch" magit-stash-branch) (107 "Drop" magit-stash-drop) nil (66 "Branch here" magit-stash-branch-here) nil nil (102 "Format patch" magit-stash-format-patch)) :default-action 'magit-stash :max-action-columns 3)) |
|
21 |
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\207" [magit-define-popup-keys-deferred magit-stash-popup custom-declare-variable magit-stash-arguments funcall function #[0 "\301\302\"\207" [magit-stash-popup plist-get :default-arguments] 3] "" :group magit-git-arguments :type (repeat (string :tag "Argument"))] 8) |
|
22 |
(defalias 'magit-stash-arguments #[0 "\303=\203 \207\n\207" [magit-current-popup magit-current-popup-args magit-stash-arguments magit-stash-popup] 2]) |
|
23 |
(put 'magit-stash-arguments 'definition-name 'magit-stash-popup) |
|
24 |
#@261 Create a stash of the index and working tree. |
|
25 |
Untracked files are included according to popup arguments. |
|
26 |
One prefix argument is equivalent to `--include-untracked' |
|
27 |
while two prefix arguments are equivalent to `--all'. |
|
28 |
|
|
29 |
(fn MESSAGE &optional INCLUDE-UNTRACKED) |
|
30 |
(defalias 'magit-stash-both #[513 "\300\301\211\301%\207" [magit-stash-save t] 8 (#$ . 3729) (magit-stash-read-args)]) |
|
31 |
#@285 Create a stash of the index only. |
|
32 |
Unstaged and untracked changes are not stashed. The stashed |
|
33 |
changes are applied in reverse to both the index and the |
|
34 |
worktree. This command can fail when the worktree is not clean. |
|
35 |
Applying the resulting stash has the inverse effect. |
|
36 |
|
|
37 |
(fn MESSAGE) |
|
38 |
(defalias 'magit-stash-index #[257 "\300\301\302\211\301\303&\207" [magit-stash-save t nil worktree] 8 (#$ . 4117) (byte-code "\300 C\207" [magit-stash-read-message] 1)]) |
|
39 |
#@271 Create a stash of unstaged changes in the working tree. |
|
40 |
Untracked files are included according to popup arguments. |
|
41 |
One prefix argument is equivalent to `--include-untracked' |
|
42 |
while two prefix arguments are equivalent to `--all'. |
|
43 |
|
|
44 |
(fn MESSAGE &optional INCLUDE-UNTRACKED) |
|
45 |
(defalias 'magit-stash-worktree #[513 "\300\301\302\302\303&\207" [magit-stash-save nil t index] 9 (#$ . 4581) (magit-stash-read-args)]) |
|
46 |
#@283 Create a stash of the index and working tree, keeping index intact. |
|
47 |
Untracked files are included according to popup arguments. |
|
48 |
One prefix argument is equivalent to `--include-untracked' |
|
49 |
while two prefix arguments are equivalent to `--all'. |
|
50 |
|
|
51 |
(fn MESSAGE &optional INCLUDE-UNTRACKED) |
|
52 |
(defalias 'magit-stash-keep-index #[513 "\300\301\211\301\302&\207" [magit-stash-save t index] 9 (#$ . 4998) (magit-stash-read-args)]) |
|
53 |
(defalias 'magit-stash-read-args #[0 "\300 \301 D\207" [magit-stash-read-message magit-stash-read-untracked] 2]) |
|
54 |
(defalias 'magit-stash-read-untracked #[0 "\301!\302 \303U\204 \304\235\203 \305\202\" |