;ELC   
;;; Compiled
;;; in Emacs version 26.3
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(require 'magit)
(defalias 'magit-notes #[0 "\300\301!\207" [transient-setup magit-notes] 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-notes interactive-only t function-documentation "Edit notes attached to commits." transient--prefix transient-prefix :command :man-page "git-notes" transient--layout ([1 transient-column (:description "Configure local settings") ((1 transient-suffix (:key "c" :command magit-core\.notesRef)) (1 transient-suffix (:key "d" :command magit-notes\.displayRef)))] [1 transient-column (:description "Configure global settings") ((1 transient-suffix (:key "C" :command magit-global-core\.notesRef)) (1 transient-suffix (:key "D" :command magit-global-notes\.displayRef)))] [1 transient-column (:description "Arguments for prune" :if-not magit-notes-merging-p) ((1 transient-switch (:key "-n" :description "Dry run" :shortarg "-n" :argument "--dry-run" :command transient:magit-notes:--dry-run)))] [1 transient-column (:description "Arguments for edit and remove" :if-not magit-notes-merging-p) ((1 transient-suffix (:command magit-notes:--ref)))] [1 transient-column (:description "Arguments for merge" :if-not magit-notes-merging-p) ((1 transient-suffix (:command magit-notes:--strategy)))] [1 transient-column (:description "Actions" :if-not magit-notes-merging-p) ((1 transient-suffix (:key "T" :description "Edit" :command magit-notes-edit)) (1 transient-suffix (:key "r" :description "Remove" :command magit-notes-remove)) (1 transient-suffix (:key "m" :description "Merge" :command magit-notes-merge)) (1 transient-suffix (:key "p" :description "Prune" :command magit-notes-prune)))] [1 transient-column (:description "Actions" :if magit-notes-merging-p) ((1 transient-suffix (:key "c" :description "Commit merge" :command magit-notes-merge-commit)) (1 transient-suffix (:key "a" :description "Abort merge" :command magit-notes-merge-abort)))])] 8)
(defalias 'magit-notes-merging-p #[0 "\300\301!\302!\205 \303\304\305#\207" [magit-git-dir "NOTES_MERGE_WORKTREE" file-directory-p directory-files nil "^[^.]"] 5])
(defalias 'magit-core\.notesRef #[0 "\300 \301\302!\"\266\303 \207" [transient-suffix-object transient-infix-set transient-infix-read transient--show] 5 nil nil])
(byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\301\306\307\310\301\311\312\313\314\315\316&#\207" [put magit-core\.notesRef interactive-only t function-documentation nil transient--suffix magit--git-variable :command :variable "core.notesRef" :reader magit-notes-read-ref :prompt "Set local core.notesRef"] 12)
(defalias 'magit-notes\.displayRef #[0 "\300 \301\302!\"\266\303 \207" [transient-suffix-object transient-infix-set transient-infix-read transient--show] 5 nil nil])
(byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\301\306\307\310\301\311\312\313\303\314\315\316\317&\n#\207" [put magit-notes\.displayRef interactive-only t function-documentation nil transient--suffix magit--git-variable :command :variable "notes.displayRef" :multi-value :reader magit-notes-read-refs :prompt "Set local notes.displayRef"] 14)
(defalias 'magit-global-core\.notesRef #[0 "\300 \301\302!\"\266\303 \207" [transient-suffix-object transient-infix-set transient-infix-read transient--show] 5 nil nil])
(byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\301\306\307\310\301\311\312\313\314\315\316&#\207" [put magit-global-core\.notesRef interactive-only t function-documentation nil transient--suffix magit--git-variable :command :variable "core.notesRef" :reader magit-notes-read-ref :prompt "Set global core.notesRef"] 12)
(defalias 'magit-global-notes\.displayRef #[0 "\300 \301\302!\"\266\303 \207" [transient-suffix-object transient-infix-set transient-infix-read transient--show] 5 nil nil])
(byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\301\306\307\310\301\311\312\313\303\314\315\316\317&\n#\207" [put magit-global-notes\.displayRef interactive-only t function-documentation nil transient--suffix magit--git-variable :command :variable "notes.displayRef" :multi-value :reader magit-notes-read-refs :prompt "Set global notes.displayRef"] 14)
(defalias 'magit-notes:--ref #[0 "\300 \301\302!\"\266\303 \207" [transient-suffix-object transient-infix-set transient-infix-read transient--show] 5 nil nil])
(byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\301\306\307\310\301\311\312\313\314\315\316\317\320&\n#\207" [put magit-notes:--ref interactive-only t function-documentation nil transient--suffix transient-option :command :description "Merge strategy" :key "-r" :argument "--ref=" :reader magit-notes-read-ref] 14)
(defalias 'magit-notes:--strategy #[0 "\300 \301\302!\"\266\303 \207" [transient-suffix-object transient-infix-set transient-infix-read transient--show] 5 nil nil])
(byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\301\306\307\310\301\311\312\313\314\315\316\317\320&\n#\207" [put magit-notes:--strategy interactive-only t function-documentation nil transient--suffix transient-option :command :description "Merge strategy" :shortarg "-s" :argument "--strategy=" :choices ("manual" "ours" "theirs" "union" "cat_sort_uniq")] 14)
#@243 Edit the note attached to COMMIT.
REF is the notes ref used to store the notes.

Interactively or when optional REF is nil use the value of Git
variable `core.notesRef' or "refs/notes/commits" if that is
undefined.

(fn COMMIT &optional REF)
(defalias 'magit-notes-edit #[513 "\300\301\205	 \302P\303$\207" [magit-run-git-with-editor "notes" "--ref=" "edit"] 7 (#$ . 5641) (magit-notes-read-args "Edit notes")])
#@252 Remove the note attached to COMMIT.
REF is the notes ref from which the note is removed.

Interactively or when optional REF is nil use the value of Git
variable `core.notesRef' or "refs/notes/commits" if that is
undefined.

(fn COMMIT &optional REF)
(defalias 'magit-notes-remove #[513 "\300\301\205	 \302P\303$\207" [magit-run-git-with-editor "notes" "--ref=" "remove"] 7 (#$ . 6063) (magit-notes-read-args "Remove notes")])
#@383 Merge the notes ref REF into the current notes ref.

The current notes ref is the value of Git variable
`core.notesRef' or "refs/notes/commits" if that is undefined.

When there are conflicts, then they have to be resolved in the
temporary worktree ".git/NOTES_MERGE_WORKTREE".  When
done use `magit-notes-merge-commit' to finish.  To abort
use `magit-notes-merge-abort'.

(fn REF)
(defalias 'magit-notes-merge #[257 "\300\301\302#\207" [magit-run-git-with-editor "notes" "merge"] 5 (#$ . 6500) (byte-code "\300\301!C\207" [magit-read-string-ns "Merge reference"] 2)])
#@67 Commit the current notes ref merge.
Also see `magit-notes-merge'.
(defalias 'magit-notes-merge-commit #[0 "\300\301\302\303#\207" [magit-run-git-with-editor "notes" "merge" "--commit"] 4 (#$ . 7076) nil])
#@66 Abort the current notes ref merge.
Also see `magit-notes-merge'.
(defalias 'magit-notes-merge-abort #[0 "\300\301\302\303#\207" [magit-run-git-with-editor "notes" "merge" "--abort"] 4 (#$ . 7287) nil])
#@65 Remove notes about unreachable commits.

(fn &optional DRY-RUN)
(defalias 'magit-notes-prune #[256 "\211\203 \300 \210\301\302\303\205 \304#\207" [magit-process-buffer magit-run-git-with-editor "notes" "prune" "--dry-run"] 5 (#$ . 7495) (byte-code "\300\301\302!\235\205	 \303C\207" ["--dry-run" transient-args magit-notes t] 3)])
#@37 

(fn PROMPT INITIAL-INPUT HISTORY)
(defalias 'magit-notes-read-ref #[771 "\300\301 \302\211\303\304!\211\205 \305\306\"\203 \211\307\302O\202 \211\262&\211\2054 \305\310\"\2031 \211\2024 \306P\207" [magit-completing-read magit-list-notes-refnames nil magit-get "core.notesRef" string-prefix-p "refs/notes/" 11 "refs/"] 12 (#$ . 7835)])
#@15 

(fn PROMPT)
(defalias 'magit-notes-read-refs #[257 "\300\301\302\303P\304 \305\211\306\307\310\311!\312#%\"\207" [mapcar #[257 "\300\301\"\203 \207\302P\207" [string-prefix-p "refs/" "refs/notes/"] 4 "\n\n(fn REF)"] completing-read-multiple ": " magit-list-notes-refnames nil mapconcat #[257 "\300\301\"\203\f \211\302\303O\207\207" [string-prefix-p "refs/notes/" 11 nil] 4 "\n\n(fn REF)"] magit-get-all "notes.displayRef" ","] 12 (#$ . 8189)])
#@15 

(fn PROMPT)
(defalias 'magit-notes-read-args #[257 "\300\301 \"\302\303\304!\305\306\2035 \2035 @\203 \302\262\202) \307\310\"\203) \211\262\210\211T\262A\262\202 \266\211\262\211\205B \311\312\"\262D\207" [magit-read-branch-or-commit magit-stash-at-point nil transient-args magit-notes t 0 string-match "^--ref=\\(.+\\)" match-string 1] 10 (#$ . 8647)])
(provide 'magit-notes)
