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\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313&\210\314\315\316\317\320DD\321\322\323\312\305\324\325\326\327\330\331&
\210\314\332\316\317\333DD\334\322\335\312\305\324\336& \210\314\337\316\317\340DD\341\322\342\312\305\324\336& \207" [require magit ediff smerge-mode custom-declare-group magit-ediff nil "Ediff support for Magit." :link (info-link "(magit)Ediffing") :group magit-extensions custom-declare-variable magit-ediff-quit-hook funcall function #[0 "\300\207" [(magit-ediff-cleanup-auxiliary-buffers magit-ediff-restore-previous-winconf)] 1] "Hooks to run after finishing Ediff, when that was invoked using Magit.\nThe hooks are run in the Ediff control buffer. This is similar\nto `ediff-quit-hook' but takes the needs of Magit into account.\nThe `ediff-quit-hook' is ignored by Ediff sessions which were\ninvoked using Magit." :package-version (magit . "2.2.0") :type hook :get magit-hook-custom-get :options (magit-ediff-cleanup-auxiliary-buffers magit-ediff-restore-previous-winconf) magit-ediff-dwim-show-on-hunks #[0 "\300\207" [nil] 1] "Whether `magit-ediff-dwim' runs show variants on hunks.\nIf non-nil, `magit-ediff-show-staged' or\n`magit-ediff-show-unstaged' are called based on what section the\nhunk is in. Otherwise, `magit-ediff-dwim' runs\n`magit-ediff-stage' when point is on an uncommitted hunk." (magit . "2.2.0") boolean magit-ediff-show-stash-with-index #[0 "\300\207" [t] 1] "Whether `magit-ediff-show-stash' shows the state of the index.\n\nIf non-nil, use a third Ediff buffer to distinguish which changes\nin the stash were staged. In cases where the stash contains no\nstaged changes, fall back to a two-buffer Ediff.\n\nMore specifically, a stash is a merge commit, stash@{N}, with\npotentially three parents.\n\n* stash@{N}^1 represents the `HEAD' commit at the time the stash\n was created.\n\n* stash@{N}^2 records any changes that were staged when the stash\n was made.\n\n* stash@{N}^3, if it exists, contains files that were untracked\n when stashing.\n\nIf this option is non-nil, `magit-ediff-show-stash' will run\nEdiff on a file using three buffers: one for stash@{N}, another\nfor stash@{N}^1, and a third for stash@{N}^2.\n\nOtherwise, Ediff uses two buffers, comparing\nstash@{N}^1..stash@{N}. Along with any unstaged changes, changes\nin the index commit, stash@{N}^2, will be shown in this\ncomparison unless they conflicted with changes in the working\ntree at the time of stashing." (magit . "2.6.0")] 14) |
|
16 |
(defvar magit-ediff-previous-winconf nil) |
|
17 |
#@55 Popup console for ediff commands. |
|
18 |
|
|
19 |
(fn &optional ARG) |
|
20 |
(defalias 'magit-ediff-popup #[256 "\300\301\302#\207" [magit-invoke-popup magit-ediff-popup nil] 5 (#$ . 2958) "P"]) |
|
21 |
(defvar magit-ediff-popup (list :variable 'magit-ediff-arguments :actions '((69 "Dwim" magit-ediff-dwim) (117 "Show unstaged" magit-ediff-show-unstaged) (115 "Stage" magit-ediff-stage) (105 "Show staged" magit-ediff-show-staged) (109 "Resolve" magit-ediff-resolve) (119 "Show worktree" magit-ediff-show-working-tree) (114 "Diff range" magit-ediff-compare) (99 "Show commit" magit-ediff-show-commit) nil (122 "Show stash" magit-ediff-show-stash)) :max-action-columns 2)) |
|
22 |
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\207" [magit-define-popup-keys-deferred magit-ediff-popup custom-declare-variable magit-ediff-arguments funcall function #[0 "\301\302\"\207" [magit-ediff-popup plist-get :default-arguments] 3] "" :group magit-git-arguments :type (repeat (string :tag "Argument"))] 8) |
|
23 |
(defalias 'magit-ediff-arguments #[0 "\303=\203 \207\n\207" [magit-current-popup magit-current-popup-args magit-ediff-arguments magit-ediff-popup] 2]) |
|
24 |
(put 'magit-ediff-arguments 'definition-name 'magit-ediff-popup) |
|
25 |
#@279 Resolve outstanding conflicts in FILE using Ediff. |
|
26 |
FILE has to be relative to the top directory of the repository. |
|
27 |
|
|
28 |
In the rare event that you want to manually resolve all |
|
29 |
conflicts, including those already resolved by Git, use |
|
30 |
`ediff-merge-revisions-with-ancestor'. |
|
31 |
|
|
32 |
(fn FILE) |
|
33 |
(defalias 'magit-ediff-resolve #[257 "\302 \211\203 \211r\303!q\210\304 \210\305\301!\210\306\211*\202 \307 \207" [default-directory ediff-quit-hook magit-toplevel find-file-noselect smerge-ediff make-local-variable #[0 " r\211q\210\306\307\310\n\"!\203 \311 \210\312!\210\313 \210)\266\314!\203& |