;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\301\302!\210\301\303!\210\304\305\306\307\310\311%\210\312\313\314\315\316DD\317\320\321\310\305\322\323& \210\312\324\314\315\325DD\326\320\327\310\305\310\330\322\331\332\333\334\335\336\337\340\"&\207" [magit-log-margin--custom-type require magit magit-reflog 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 author or committer date.\n It can be one of `age' (to show the age of the commit),\n `age-abbreviated' (to abbreviate the time unit to a character),\n or a string (suitable for `format-time-string') to show the\n actual date. Option `magit-log-margin-show-committer-date'\n controls which date is being displayed.\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) (defalias 'magit-stash #[0 "\300\301!\207" [transient-setup magit-stash] 2 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-stash interactive-only t function-documentation "Stash uncommitted changes." transient--prefix transient-prefix :command :man-page "git-stash" transient--layout ([1 transient-column (:description "Arguments") ((1 transient-switch (:key "-u" :description "Also save untracked files" :shortarg "-u" :argument "--include-untracked" :command transient:magit-stash:--include-untracked)) (1 transient-switch (:key "-a" :description "Also save untracked and ignored files" :shortarg "-a" :argument "--all" :command transient:magit-stash:--all)))] [1 transient-columns nil ([1 transient-column (:description "Stash") ((1 transient-suffix (:key "z" :description "both" :command magit-stash-both)) (1 transient-suffix (:key "i" :description "index" :command magit-stash-index)) (1 transient-suffix (:key "w" :description "worktree" :command magit-stash-worktree)) (1 transient-suffix (:key "x" :description "keeping index" :command magit-stash-keep-index)))] [1 transient-column (:description "Snapshot") ((1 transient-suffix (:key "Z" :description "both" :command magit-snapshot-both)) (1 transient-suffix (:key "I" :description "index" :command magit-snapshot-index)) (1 transient-suffix (:key "W" :description "worktree" :command magit-snapshot-worktree)) (1 transient-suffix (:key "r" :description "to wip ref" :command magit-wip-commit)))] [1 transient-column (:description "Use") ((1 transient-suffix (:key "a" :description "Apply" :command magit-stash-apply)) (1 transient-suffix (:key "p" :description "Pop" :command magit-stash-pop)) (1 transient-suffix (:key "k" :description "Drop" :command magit-stash-drop)))] [1 transient-column (:description "Inspect") ((1 transient-suffix (:key "l" :description "List" :command magit-stash-list)) (1 transient-suffix (:key "v" :description "Show" :command magit-stash-show)))] [1 transient-column (:description "Transform") ((1 transient-suffix (:key "b" :description "Branch" :command magit-stash-branch)) (1 transient-suffix (:key "B" :description "Branch here" :command magit-stash-branch-here)) (1 transient-suffix (:key "f" :description "Format patch" :command magit-stash-format-patch)))])])] 8) (defalias 'magit-stash-arguments #[0 "\300\301!\207" [transient-args magit-stash] 2]) #@261 Create a stash of the index and working tree. Untracked files are included according to infix arguments. One prefix argument is equivalent to `--include-untracked' while two prefix arguments are equivalent to `--all'. (fn MESSAGE &optional INCLUDE-UNTRACKED) (defalias 'magit-stash-both #[513 "\300\301\211\301%\207" [magit-stash-save t] 8 (#$ . 4350) (magit-stash-read-args)]) #@285 Create a stash of the index only. Unstaged and untracked changes are not stashed. The stashed changes are applied in reverse to both the index and the worktree. This command can fail when the worktree is not clean. Applying the resulting stash has the inverse effect. (fn MESSAGE) (defalias 'magit-stash-index #[257 "\300\301\302\211\301\303&\207" [magit-stash-save t nil worktree] 8 (#$ . 4738) (byte-code "\300 C\207" [magit-stash-read-message] 1)]) #@271 Create a stash of unstaged changes in the working tree. Untracked files are included according to infix arguments. One prefix argument is equivalent to `--include-untracked' while two prefix arguments are equivalent to `--all'. (fn MESSAGE &optional INCLUDE-UNTRACKED) (defalias 'magit-stash-worktree #[513 "\300\301\302\302\303&\207" [magit-stash-save nil t index] 9 (#$ . 5202) (magit-stash-read-args)]) #@283 Create a stash of the index and working tree, keeping index intact. Untracked files are included according to infix arguments. One prefix argument is equivalent to `--include-untracked' while two prefix arguments are equivalent to `--all'. (fn MESSAGE &optional INCLUDE-UNTRACKED) (defalias 'magit-stash-keep-index #[513 "\300\301\211\301\302&\207" [magit-stash-save t index] 9 (#$ . 5619) (magit-stash-read-args)]) (defalias 'magit-stash-read-args #[0 "\300 \301 D\207" [magit-stash-read-message magit-stash-read-untracked] 2]) (defalias 'magit-stash-read-untracked #[0 "\301!\302 \303U\204\304\235\203\305\207\306U\204\307\235\205 \310\207" [current-prefix-arg prefix-numeric-value magit-stash-arguments 16 "--all" all 4 "--include-untracked" t] 4]) (defalias 'magit-stash-read-message #[0 "\300\301\302 \206\303\"\304\305\"\211\232\203\306\307!P\207\207" [format "On %s: " magit-get-current-branch "(no branch)" magit-read-string "Stash message" magit-rev-format "%h %s"] 5]) #@256 Create a snapshot of the index and working tree. Untracked files are included according to infix arguments. One prefix argument is equivalent to `--include-untracked' while two prefix arguments are equivalent to `--all'. (fn &optional INCLUDE-UNTRACKED) (defalias 'magit-snapshot-both #[256 "\300\301\211\301$\207" [magit-snapshot-save t] 6 (#$ . 6628) (magit-snapshot-read-args)]) #@86 Create a snapshot of the index only. Unstaged and untracked changes are not stashed. (defalias 'magit-snapshot-index #[0 "\300\301\302\211\301$\207" [magit-snapshot-save t nil] 5 (#$ . 7018) nil]) #@266 Create a snapshot of unstaged changes in the working tree. Untracked files are included according to infix arguments. One prefix argument is equivalent to `--include-untracked' while two prefix arguments are equivalent to `--all'. (fn &optional INCLUDE-UNTRACKED) (defalias 'magit-snapshot-worktree #[256 "\300\301\302\302$\207" [magit-snapshot-save nil t] 6 (#$ . 7222) (magit-snapshot-read-args)]) (defalias 'magit-snapshot-read-args #[0 "\300 C\207" [magit-stash-read-untracked] 1]) #@51 (fn INDEX WORKTREE UNTRACKED &optional REFRESH) (defalias 'magit-snapshot-save #[1027 "\300\301\302 P\303&\207" [magit-stash-save "WIP on " magit-stash-summary t] 11 (#$ . 7716)]) #@172 Apply a stash to the working tree. Try to preserve the stash index. If that fails because there are staged changes, apply without preserving the stash index. (fn STASH) (defalias 'magit-stash-apply #[257 "\300\301\302\303$\304U\203\305 \207\306\301\302#\207" [magit-call-git "stash" "apply" "--index" 0 magit-refresh magit-run-git] 6 (#$ . 7910) (byte-code "\300\301!C\207" [magit-read-stash "Apply stash"] 2)]) #@231 Apply a stash to the working tree and remove it from stash list. Try to preserve the stash index. If that fails because there are staged changes, apply without preserving the stash index and forgo removing the stash. (fn STASH) (defalias 'magit-stash-pop #[257 "\300\301\302\303$\304U\203\305!\207\306\301\302#\207" [magit-call-git "stash" "apply" "--index" 0 magit-stash-drop magit-run-git] 6 (#$ . 8335) (byte-code "\300\301!C\207" [magit-read-stash "Pop stash"] 2)]) #@112 Remove a stash from the stash list. When the region is active offer to drop all contained stashes. (fn STASH) (defalias 'magit-stash-drop #[257 "\211<\203\211@\262\237\202\211C\211\2033\211@\300\301\302\303\"#\210\304\305\"\210\304\306\307\310\311%\210A\266\202\202\210\312\313\"\205?\314\315\"\211\203]\312\316\"\204O\317P\262\320\321P!\204]\322\323\324#\210\210\325 \207" [message "Deleted refs/%s (was %s)" magit-rev-parse "--short" magit-call-git "rev-parse" "reflog" "delete" "--updateref" "--rewrite" string-match "\\(.+\\)@{[0-9]+}$" match-string 1 "^refs/" "refs/" magit-rev-verify "@{0}" magit-run-git "update-ref" "-d" magit-refresh] 9 (#$ . 8819) (byte-code "\301\302!\211\203\303\304\305\306\305%\202\307\310\311!)\262C\207" [helm-comp-read-use-marked magit-region-values stash magit-confirm drop-stashes nil "Drop %i stashes" t magit-read-stash "Drop stash"] 7)]) #@69 Remove all stashes saved in REF's reflog by deleting REF. (fn REF) (defalias 'magit-stash-clear #[257 "\300\301\302#\207" [magit-run-git "update-ref" "-d"] 5 (#$ . 9735) (byte-code "\300\301!\206\302\303\304\305\306\"\"\210\211C\207" [magit-section-value-if stashes "refs/stash" magit-confirm t format "Drop all stashes in %s"] 6)]) #@65 Create and checkout a new BRANCH from STASH. (fn STASH BRANCH) (defalias 'magit-stash-branch #[514 "\300\301\302$\207" [magit-run-git "stash" "branch"] 7 (#$ . 10079) (byte-code "\300\301!\302\303!D\207" [magit-read-stash "Branch stash" magit-read-string-ns "Branch name"] 3)]) #@182 Create and checkout a new BRANCH and apply STASH. The branch is created using `magit-branch-and-checkout', using the current branch or `HEAD' as the start-point. (fn STASH BRANCH) (defalias 'magit-stash-branch-here #[514 "\301\302\303 \206\n\304\"\210)\305!\207" [magit-inhibit-refresh t magit-branch-and-checkout magit-get-current-branch "HEAD" magit-stash-apply] 5 (#$ . 10367) (byte-code "\300\301!\302\303!D\207" [magit-read-stash "Branch stash" magit-read-string-ns "Branch name"] 3)]) #@39 Create a patch from STASH (fn STASH) (defalias 'magit-stash-format-patch #[257 "\300\301\"\302\303\304\"\305\306\"\216r\211q\210\307\310\311\312$\210)r\211q\210\313\314\211\314\315%\210*\266\316 \207" [magit-rev-format "0001-%f.patch" generate-new-buffer " *temp file*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] magit-git-insert "stash" "show" "-p" write-region nil 0 magit-refresh] 9 (#$ . 10869) (byte-code "\300\301!C\207" [magit-read-stash "Create patch from stash"] 2)]) #@76 (fn MESSAGE INDEX WORKTREE UNTRACKED &optional REFRESH KEEP NOERROR REF) (defalias 'magit-stash-save #[2052 "\203 \301\302!\204!\203\303\302!\204!\203\242\304\305=!\203\242\306 \211\203\237\211\307 \2061\310\311\f\f\f\f$#\210\312=\203i\313\314\302\"r\211q\210\315\316\"\216\317\320\321\"\210\322\323\324\321\325\326%\210\322\323\324\325\326$\210*\210\202\227\302=\204\227\327=\203~\330\331\332\333#\210\202\205\330\334\335\336\332$\210\203\227\330\337\340\341 \305=\205\225\342$\210\205\235\343 )\207\344 \207?\205\275\345\346\204\262\347\202\274\204\273\350\202\274\351\"\207" [default-directory magit-staged-files t magit-unstaged-files magit-untracked-files all magit-toplevel magit-stash-store "refs/stash" magit-stash-create worktree generate-new-buffer " *temp*" make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] magit-git-insert "diff" "--cached" magit-run-git-with-input "apply" "--reverse" "--ignore-space-change" "-" index magit-call-git "checkout" "--" "." "reset" "--hard" "HEAD" "clean" "--force" "-d" "-x" magit-refresh magit--not-inside-repository-error user-error "No %s changes to save" "unstaged" "staged" "local"] 17 (#$ . 11398)]) #@27 (fn MESSAGE REF COMMIT) (defalias 'magit-stash-store #[771 "\300\301$\207" [magit-update-ref t] 8 (#$ . 12633)]) #@41 (fn MESSAGE INDEX WORKTREE UNTRACKED) (defalias 'magit-stash-create #[1028 "\305\306\307\"\204 \310\311!\210\312\313D\244\314 \315 \307\203/\204/\316\317\320\307#\206-\310\321!\262\316\322P\320#\211\262\204@\310\321!\210\203\260\323\324=!\211\262\203\260\320\325\326\327\330!!!\331\332\"\216\314 \211\203\247\211\333 !\203\211\334P B\335!\203\202\316\336P!\206\205\310\337!)\202\243\334P\fB\335!\203\237\316\336P!\206\242\310\337!))\202\251\340 \262*\266\202\262\320\325\326\327\330!!!\331\341\"\216\314 \211\203F\211 \211\203\336\342\343\344\345P$\204\336\310\346\"\210\210\333 !\203\334P B\203\335\347\350\351\352$!\204\310\353!\210\316 \320 \f%\206\310\353!)\202B\334P\fB\2030\335\347\350\351\352$!\2040\310\353!\210\316 \320 \f%\206A\310\353!))\202H\340 \262*\266\202*\207" [magit-git-global-arguments default-directory magit--refresh-cache magit-tramp-process-environment process-environment magit-rev-parse "--verify" "HEAD" error "You do not have the initial commit yet" "-c" "commit.gpgsign=false" magit-toplevel magit-stash-summary magit-commit-tree "pre-stash index" nil "Cannot save the current index state" "index on " magit-untracked-files all magit-convert-filename-for-git make-temp-name magit-git-dir "index.magit." make-closure #[0 "\3021 \303\304 !\300P!0\207\210\305\207" [V0 default-directory (error) delete-file file-remote-p nil] 3] file-remote-p "GIT_INDEX_FILE=" magit-update-files "untracked files on " "Cannot save the untracked files" magit--not-inside-repository-error #[0 "\3021 \303\304 !\300P!0\207\210\305\207" [V0 default-directory (error) delete-file file-remote-p nil] 3] magit-git-success "read-tree" "-m" "--index-output=" "Cannot read tree %s" magit-git-items "diff" "-z" "--name-only" "Cannot save the current worktree state"] 18 (#$ . 12757)]) (defalias 'magit-stash-summary #[0 "\300 \206\301\302\303\304!Q\207" [magit-get-current-branch "(no branch)" ": " magit-rev-format "%h %s"] 4]) #@31 Keymap for `stashes' section. (defvar magit-stashes-section-map (byte-code "\300 \301\302\303#\210\207" [make-sparse-keymap define-key [remap magit-delete-thing] magit-stash-clear] 5) (#$ . 14793)) #@30 Keymap for `stash' sections. (defvar magit-stash-section-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\207" [make-sparse-keymap define-key [remap magit-visit-thing] magit-stash-show [remap magit-delete-thing] magit-stash-drop "a" magit-stash-apply "A" magit-stash-pop] 5) (#$ . 14998)) #@94 Jump to the section "Stashes". With a prefix argument also expand it. (fn &optional EXPAND) (defalias 'magit-jump-to-stashes #[256 "\303\304\305B\306!B!\211\2031\307\310\"b\210\2054\3111&\312\313!)0\210\202-\210\314\315\316!\210\317\320!\207\321\322!\207" [magit-root-section inhibit-quit quit-flag magit-get-section stashes "refs/stash" magit-section-ident eieio-oref start (quit) nil magit-section-show t eval (ignore nil) recenter 0 message "Section \"Stashes\" wasn't found"] 5 (#$ . 15338) "P"]) #@256 Insert `stashes' section showing reflog for "refs/stash". If optional REF is non-nil, show reflog for that instead. If optional HEADING is non-nil, use that as section heading instead of "Stashes:". (fn &optional (REF "refs/stash") (HEADING "Stashes:")) (defalias 'magit-insert-stashes #[128 "\211\203 \211A\262\242\202\306\203\211A\262\242\202\307\203+\310\311\312\313G\\D\"\210\314!\315 \205D\316\317\320\317\321!!\203A\322\202B\323!!\211\204L\205o\324\325!\203V\325\202^\325\236A\206^\326\327\324\325!\203m\330\325\"@\206n\325\331\332\333 \334 &\335\336\337\340\"\211\203\211\211\341=\202\273\n\205\224\342\343!\n\"\211\203\237\344\336\"\202\271\345 \"\211\205\267\346!\203\264\211!\262\211\341=\262\262\262#\210\211\n\206\315 ?\205\315\f\3472j\350!\210\203m\351\352\353\354\355$@\356\"\211\242\243\211\242\243\211\242\243\324\357!\203\357\202\357\236A\206\326\327\324\357!\203\330\357\"@\206\357\331\332\333 \334 &\335\336\337\340\"\211\2033\211\341=\202e\n\205>\342\343!\n\"\211\203I\344\336\"\202c\345 \"\211\205a\346!\203^\211!\262\211\341=\262\262\262#\210\211\n\206w ?\205w\f\3472i\360\361\362\363#c\210\364\365\261\210\212\366u\210\367 #\210)\370\371!\210\372!\210\373\344\374\"\375\"\210\335\376\333 #\377\201A\"\201B\201C\201D\344\201E\"\"!\201B\201C\201F\344\201E\"\"!\203\340J\206\367\201G!\203\355J\206\367\201G!\205\367\211J\212\344\374\"b\210`W\2038\201H`\326\"\206\201I`\326\"\2041\201J`\326\n$\210\2031\201J`\201A$\210\211b\266\202\377)\266\211\f=\203O\201K@\201L!)\202h\335\344\201M\"\201N\344\211\201M\"\201N\"C\244#0\210+\266 \203\211\201O\201P\201Q\357\"\201R\201S$\210\202\230\201Tc\210\212\366u\210\201U \210)\370\371!\210\372!\210\373\344\374\"\375\"\210\335\376\333 #\377\201A\"\201B\201C\201D\344\201E\"\"!\201B\201C\201F\344\201E\"\"!\203\341J\206\370\201G!\203\356J\206\370\201G!\205\370\211J\212\344\374\"b\210`W\2039\201H`\326\"\206\201I`\326\"\2042\201J`\326\n$\210\2032\201J`\201A$\210\211b\266\202)\266\211\f=\203P\201K@\201L!)\202i\335\344\201M\"\201N\344\211\201M\"\201N\"C\244#0\210+\211\262\207" [magit--section-type-alist magit-insert-section--parent magit-insert-section--oldroot magit-section-initial-visibility-alist magit-root-section magit-insert-section--current "refs/stash" "Stashes:" signal wrong-number-of-arguments magit-insert-stashes 2 magit-rev-verify magit-rebase-in-progress-p magit-file-line magit-git-dir file-directory-p "rebase-merge" "rebase-merge/autostash" "rebase-apply/autostash" class-p stashes magit-section :type rassq :value :start point-marker :parent eieio-oset hidden run-hook-with-args-until-success magit-section-set-visibility-hook hide magit-get-section magit-section-ident eieio-oref magit-section-match-assoc functionp cancel-section magit-insert-heading split-string magit-git-lines "show" "-q" "--format=%aN%x00%at%x00%s" "" stash propertize "AUTOSTASH" font-lock-face magit-hash " " "\n" -1 magit-log-format-margin run-hooks magit-insert-section-hook magit-insert-child-count set-marker-insertion-type start t end eieio-oref-default magit-section-cache-visibility keymap intern format "magit-%s-section-map" type "forge-%s-section-map" boundp next-single-property-change get-text-property put-text-property nil magit-section-show parent children magit-git-wash apply-partially magit-log-wash-log "reflog" "--format=%gd%x00%aN%x00%at%x00%gs" 10 magit-make-margin-overlay] 28 (#$ . 15857)]) #@31 List all stashes in a buffer. (defalias 'magit-stash-list #[0 "\300 \207" [magit-stashes-setup-buffer] 1 (#$ . 19501) nil]) (defvar magit-stashes-mode-hook nil) (byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [magit-stashes-mode-hook variable-documentation put "Hook run after entering Magit Stashes mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp magit-stashes-mode-map definition-name magit-stashes-mode] 4) (defvar magit-stashes-mode-map (make-sparse-keymap)) (byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204\303\307\310\311#\210\312\313 !\210\307\302N\204-\303\307\302\304\314!#\210\306\300!\204B\303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P\303\300\302\304\320!#\210\303\311\321\322#\210\303\311\323\324#\207" [magit-stashes-mode-abbrev-table magit-stashes-mode-map variable-documentation put purecopy "Keymap for `magit-stashes-mode'." boundp magit-stashes-mode-syntax-table definition-name magit-stashes-mode (lambda (def-tmp-var) (defvar magit-stashes-mode-syntax-table def-tmp-var)) make-syntax-table "Syntax table for `magit-stashes-mode'." (lambda (def-tmp-var) (defvar magit-stashes-mode-abbrev-table def-tmp-var)) define-abbrev-table nil "Abbrev table for `magit-stashes-mode'." derived-mode-parent magit-reflog-mode custom-mode-group magit-log] 5) #@251 Mode for looking at lists of stashes. In addition to any hooks its parent mode `magit-reflog-mode' might have run, this mode runs the hook `magit-stashes-mode-hook', as the final or penultimate step during initialization. \{magit-stashes-mode-map} (defalias 'magit-stashes-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315 !\204'\316 \317 \"\210\320\f!\211\2035\211\321 =\203;\322\f\323 \"\210\210\324 \325\"\204R =\204R\326 \325C#\210\327 !\210\330\f!\210 \331 \210)\332\333!\207" [delay-mode-hooks major-mode mode-name magit-stashes-mode-map magit-stashes-mode-syntax-table magit-stashes-mode-abbrev-table make-local-variable t magit-reflog-mode magit-stashes-mode "Magit Stashes" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table hack-dir-local-variables-non-file-buffer run-mode-hooks magit-stashes-mode-hook local-abbrev-table] 5 (#$ . 20951) nil]) (defalias 'magit-stashes-setup-buffer #[0 "\300\301\302\303\304DC#\207" [magit-setup-buffer-internal magit-stashes-mode nil magit-buffer-refname "refs/stash"] 5]) (defalias 'magit-stashes-refresh-buffer #[0 "\306\307!\203\n\307\202\307\236A\206\310\311\306\307!\203!\312\307\"@\206\"\307\313\314\315\316 \317 &\320\321\322\323\"\211\203<\211\324=\202n\n\205G\325\326!\n\"\211\203R\327\321\"\202l\330 \"\211\205j\331!\203g\211!\262\211\324=\262\262\262#\210\211\n\206\200 ?\205\200\f\3322K\333:\334\232\203\223\335\202\230\336\337:\"!\210\340\341\342\343\"\344\345:$\210\346\347!\210\350!\210\351\327\352\"\353\"\210\320\354\316 #\355\356\"\357\336\360\327\361\"\"!\357\336\362\327\361\"\"!\203\334J\206\357\363!\203\347J\206\357\363!\205\357\211J\212\327\352\"b\210`W\203&\364`\310\"\206\365`\310\"\204\366`\310\n$\210\203\366`\356$\210\211b\266\202\367)\266\211\f=\2039\314;\367!)\202J\320\327\370\"\371\327\211\370\"\371\"C\244#0\210+\207" [magit--section-type-alist magit-insert-section--parent magit-insert-section--oldroot magit-section-initial-visibility-alist magit-root-section magit-insert-section--current class-p stashesbuf magit-section :type rassq :value nil :start point-marker :parent eieio-oset hidden run-hook-with-args-until-success magit-section-set-visibility-hook hide magit-get-section magit-section-ident eieio-oref magit-section-match-assoc functionp cancel-section magit-insert-heading "refs/stash" "Stashes:" format "Stashes [%s]:" magit-git-wash apply-partially magit-log-wash-log stash "reflog" "--format=%gd%x00%aN%x00%at%x00%gs" run-hooks magit-insert-section-hook magit-insert-child-count set-marker-insertion-type start t end eieio-oref-default keymap intern "magit-%s-section-map" type "forge-%s-section-map" boundp next-single-property-change get-text-property put-text-property magit-section-show parent children magit-buffer-refname magit-section-cache-visibility] 12]) (cl-generic-define-method 'magit-buffer-value nil '(&context (major-mode magit-stashes-mode)) nil #[0 "\207" [magit-buffer-refname] 1]) (defvar magit--update-stash-buffer nil) #@143 When moving in the stashes buffer, update the stash buffer. If there is no stash buffer in the same frame, then do nothing. (fn &optional _) (defalias 'magit-stashes-maybe-update-stash-buffer #[256 "\300\301!\205\302 \207" [derived-mode-p magit-stashes-mode magit--maybe-update-stash-buffer] 3 (#$ . 24204)]) (defalias 'magit--maybe-update-stash-buffer #[0 "\303\304!\211\205\f\305\306\307\310#\211\2051\203D\211\207D\311 \307rq\210\312\313 *\314\315\"\262#\207" [magit--update-stash-buffer magit-update-other-window-delay magit-direct-use-buffer-arguments magit-section-value-if stash magit-get-mode-buffer magit-stash-mode nil t run-with-idle-timer selected magit-show-commit--arguments make-closure #[0 " \210 \242 \243\211\242\243\303\304!\203\305\306\307\300#\210)\266\303\211\207" [V0 magit--update-stash-buffer magit-display-buffer-noselect nil buffer-live-p t apply magit-stash-show] 10]] 9]) #@73 Show all diffs of a stash in a buffer. (fn STASH &optional ARGS FILES) (defalias 'magit-stash-show #[769 "\300#\207" [magit-stash-setup-buffer] 7 (#$ . 25140) (byte-code "\204 \301 \206\f\302\303!\304\305!\211\242\243\211\242\243\306\307\"D\266\206\262B\207" [current-prefix-arg magit-stash-at-point magit-read-stash "Show stash" magit-diff-arguments magit-stash-mode delete "--stat"] 11)]) (defvar magit-stash-mode-hook nil) (byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [magit-stash-mode-hook variable-documentation put "Hook run after entering Magit Stash mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp magit-stash-mode-map definition-name magit-stash-mode] 4) (defvar magit-stash-mode-map (make-sparse-keymap)) (byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204\303\307\310\311#\210\312\313 !\210\307\302N\204-\303\307\302\304\314!#\210\306\300!\204B\303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P\303\300\302\304\320!#\210\303\311\321\322#\210\303\311\323\324#\207" [magit-stash-mode-abbrev-table magit-stash-mode-map variable-documentation put purecopy "Keymap for `magit-stash-mode'." boundp magit-stash-mode-syntax-table definition-name magit-stash-mode (lambda (def-tmp-var) (defvar magit-stash-mode-syntax-table def-tmp-var)) make-syntax-table "Syntax table for `magit-stash-mode'." (lambda (def-tmp-var) (defvar magit-stash-mode-abbrev-table def-tmp-var)) define-abbrev-table nil "Abbrev table for `magit-stash-mode'." derived-mode-parent magit-diff-mode custom-mode-group magit-diff] 5) #@247 Mode for looking at individual stashes. In addition to any hooks its parent mode `magit-diff-mode' might have run, this mode runs the hook `magit-stash-mode-hook', as the final or penultimate step during initialization. \{magit-stash-mode-map} (defalias 'magit-stash-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315 !\204'\316 \317 \"\210\320\f!\211\2035\211\321 =\203;\322\f\323 \"\210\210\324 \325\"\204R =\204R\326 \325C#\210\327 !\210\330\f!\210 \331 \210)\332\333!\207" [delay-mode-hooks major-mode mode-name magit-stash-mode-map magit-stash-mode-syntax-table magit-stash-mode-abbrev-table make-local-variable t magit-diff-mode magit-stash-mode "Magit Stash" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table hack-dir-local-variables-non-file-buffer run-mode-hooks magit-stash-mode-hook local-abbrev-table] 5 (#$ . 26840) nil]) #@25 (fn STASH ARGS FILES) (defalias 'magit-stash-setup-buffer #[771 "\300\301\302\303D\304\305\306 \211#D\307D\310DF#\207" [magit-setup-buffer-internal magit-stash-mode nil magit-buffer-revision magit-buffer-range format "%s^..%s" magit-buffer-diff-args magit-buffer-diff-files] 12 (#$ . 27900)]) (defalias 'magit-stash-refresh-buffer #[0 "\306\307!\310\311\312\313\"\314\315\316\317\320\321\317\"F#Q!\210\322!\323\324!\203%\324\202-\324\n\236A\206-\325\326\323\324!\203<\327\324\n\"@\206=\324\330\331\332\333 \334 &\335\336\337\340\"\211\203W\211\341=\202\211\f\205b\342\343!\f\"\211\203m\344\336\"\202\207\345 \"\211\205\205\346!\203\202\211!\262\211\341=\262\262\262#\210\211\f\206\235 ?\205\235??@\3472P\350\351!\210\352\353!\210\354!\210\355\344\356\"\357\"\210\335\360\333 #\361\362\"\363\364\365\344\366\"\"!\363\364\367\344\366\"\"!\203\340J\206\363\370!\203\353J\206\363\370!\205\363\211J\212\344\356\"b\210`W\203*\371`\325\"\206 \372`\325\"\204#\373`\325\n$\210\203#\373`\362$\210\211b\266\202\373)\266\211?=\203>\331A\374!)\202O\335\344\375\"\376\344\211\375\"\376\"C\244#0\210+\207" [magit-buffer-revision magit-buffer-revision-hash magit--section-type-alist magit-insert-section--parent magit-insert-section--oldroot magit-section-initial-visibility-alist magit-set-header-line-format capitalize " " propertize magit-rev-format "%s" font-lock-face :weight normal :foreground face-attribute default magit-rev-parse class-p stash magit-section :type rassq :value nil :start point-marker :parent eieio-oset hidden run-hook-with-args-until-success magit-section-set-visibility-hook hide magit-get-section magit-section-ident eieio-oref magit-section-match-assoc functionp cancel-section magit-run-section-hook magit-stash-sections-hook run-hooks magit-insert-section-hook magit-insert-child-count set-marker-insertion-type start t end eieio-oref-default keymap intern format "magit-%s-section-map" type "forge-%s-section-map" boundp next-single-property-change get-text-property put-text-property magit-section-show parent children magit-root-section magit-insert-section--current magit-section-cache-visibility] 12]) (cl-generic-define-method 'magit-buffer-value nil '(&context (major-mode magit-stash-mode)) nil #[0 "\207" [magit-buffer-revision] 1]) #@45 (fn COMMIT RANGE MESSAGE &optional FILES) (defalias 'magit-stash-insert-section #[1027 "\306\307!\203\n\307\202\307\236A\206\310\311\306\307!\203!\312\307\"@\206\"\307\313\314\315 \316 &\317\320\321\322\"\211\203=\211\323=\202o\n\205H\324\325!\n\"\211\203S\326\320\"\202m\327 \"\211\205k\330!\203h\211!\262\211\323=\262\262\262#\210\211\n\206\201 ?\205\201\f\3312D\332!\210\333\334\335\3366\337\206\2337&\210\340\341!\210\342!\210\343\326\344\"\345\"\210\317\346\315 #\347\350\"\351\352\353\326\354\"\"!\351\352\355\326\354\"\"!\203\325J\206\350\356!\203\340J\206\350\356!\205\350\211J\212\326\344\"b\210`W\203\357`\310\"\206\376\360`\310\"\204\361`\310\n$\210\203\361`\350$\210\211b\266\202\360)\266\211\f=\2032\3628\363!)\202C\317\326\364\"\365\326\211\364\"\365\"C\244#0\210+\207" [magit--section-type-alist magit-insert-section--parent magit-insert-section--oldroot magit-section-initial-visibility-alist magit-root-section magit-insert-section--current class-p commit magit-section :type rassq :value :start point-marker :parent eieio-oset hidden run-hook-with-args-until-success magit-section-set-visibility-hook hide magit-get-section magit-section-ident eieio-oref magit-section-match-assoc functionp cancel-section magit-insert-heading magit--insert-diff "diff" "-p" "--no-prefix" "--" run-hooks magit-insert-section-hook magit-insert-child-count set-marker-insertion-type start t end eieio-oref-default keymap intern format "magit-%s-section-map" type "forge-%s-section-map" boundp next-single-property-change get-text-property put-text-property nil magit-section-show parent children magit-buffer-diff-args magit-buffer-diff-files magit-section-cache-visibility] 16 (#$ . 30257)]) #@132 Insert section showing notes for a stash. This shows the notes for stash@{N} but not for the other commits that make up the stash. (defalias 'magit-insert-stash-notes #[0 "\306\307!\203\n\307\202\307\236A\206\310\311\306\307!\203!\312\307\"@\206\"\307\313\314\315\316 \317 &\320\321\322\323\"\211\203<\211\324=\202n\n\205G\325\326!\n\"\211\203R\327\321\"\202l\330 \"\211\205j\331!\203g\211!\262\211\324=\262\262\262#\210\211\n\206\200 ?\205\200\f\3322M\211\333\334!\210\335\336\3378#\210`\327\340\"U\203\243\341 \266\202\247\342c\266\343\344!\210\345!\210\346\327\347\"\350\"\210\320\351\316 #\352\353\"\354\355\356\327\357\"\"!\354\355\360\327\357\"\"!\203\336J\206\361\361!\203\351J\206\361\361!\205\361\211J\212\327\347\"b\210`W\203(\362`\310\"\206\363`\310\"\204!\364`\310\n$\210\203!\364`\353$\210\211b\266\202\371)\266\211\f=\203;\3149\365!)\202L\320\327\366\"\367\327\211\366\"\367\"C\244#0\210+\207" [magit--section-type-alist magit-insert-section--parent magit-insert-section--oldroot magit-section-initial-visibility-alist magit-root-section magit-insert-section--current class-p note magit-section :type rassq :value nil :start point-marker :parent eieio-oset hidden run-hook-with-args-until-success magit-section-set-visibility-hook hide magit-get-section magit-section-ident eieio-oref magit-section-match-assoc functionp cancel-section magit-insert-heading "Notes" magit-git-insert "notes" "show" content magit-cancel-section "\n" run-hooks magit-insert-section-hook magit-insert-child-count set-marker-insertion-type start t end eieio-oref-default keymap intern format "magit-%s-section-map" type "forge-%s-section-map" boundp next-single-property-change get-text-property put-text-property magit-section-show parent children magit-buffer-revision magit-section-cache-visibility] 12 (#$ . 32052)]) #@53 Insert section showing staged changes of the stash. (defalias 'magit-insert-stash-index #[0 "\301\302\303\"\302\304\211#\305#\207" [magit-buffer-revision magit-stash-insert-section format "%s^2" "%s^..%s^2" "Staged"] 6 (#$ . 33959)]) #@55 Insert section showing unstaged changes of the stash. (defalias 'magit-insert-stash-worktree #[0 "\301\302\303\211#\304#\207" [magit-buffer-revision magit-stash-insert-section format "%s^2..%s" "Unstaged"] 6 (#$ . 34201)]) #@65 Insert section showing the untracked files commit of the stash. (defalias 'magit-insert-stash-untracked #[0 "\211\301P\302!\205 \303\304\305\"\304\306\211#\307\310\311\312\313\314\315\n&$\207" [magit-buffer-revision "^3" magit-rev-verify magit-stash-insert-section format "%s^3" "%s^..%s^3" "Untracked files" magit-git-items "ls-tree" "-z" "--name-only" "-r" "--full-tree"] 13 (#$ . 34432)]) (provide 'magit-stash)