;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-reset #[0 "\300\301!\207" [transient-setup magit-reset] 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-reset interactive-only t function-documentation "Reset the `HEAD', index and/or worktree to a previous state." transient--prefix transient-prefix :command :man-page "git-reset" transient--layout ([1 transient-column (:description "Reset") ((1 transient-suffix (:key "m" :description "mixed    (HEAD and index)" :command magit-reset-mixed)) (1 transient-suffix (:key "s" :description "soft     (HEAD only)" :command magit-reset-soft)) (1 transient-suffix (:key "h" :description "hard     (HEAD, index and files)" :command magit-reset-hard)) (1 transient-suffix (:key "i" :description "index    (only)" :command magit-reset-index)) (1 transient-suffix (:key "w" :description "worktree (only)" :command magit-reset-worktree)) "" (1 transient-suffix (:key "f" :description "a file" :command magit-file-checkout)))])] 8)
#@106 Reset the `HEAD' and index to COMMIT, but not the working tree.

(git reset --mixed COMMIT)

(fn COMMIT)
(defalias 'magit-reset-mixed #[257 "\300\301\"\207" [magit-reset-internal "--mixed"] 4 (#$ . 1453) (byte-code "\300\301!C\207" [magit-reset-read-branch-or-commit "Reset %s to"] 2)])
#@107 Reset the `HEAD' to COMMIT, but not the index and working tree.

(git reset --soft REVISION)

(fn COMMIT)
(defalias 'magit-reset-soft #[257 "\300\301\"\207" [magit-reset-internal "--soft"] 4 (#$ . 1748) (byte-code "\300\301!C\207" [magit-reset-read-branch-or-commit "Soft reset %s to"] 2)])
#@96 Reset the `HEAD', index, and working tree to COMMIT.

(git reset --hard REVISION)

(fn COMMIT)
(defalias 'magit-reset-hard #[257 "\300\301\"\207" [magit-reset-internal "--hard"] 4 (#$ . 2046) (byte-code "\300\301\302\303\"\304P!C\207" [magit-reset-read-branch-or-commit magit--propertize-face "Hard" bold " reset %s to"] 4)])
#@174 Reset the index to COMMIT.
Keep the `HEAD' and working tree as-is, so if COMMIT refers to the
head this effectively unstages all changes.

(git reset COMMIT .)

(fn COMMIT)
(defalias 'magit-reset-index #[257 "\300\301\302#\207" [magit-reset-internal nil "."] 5 (#$ . 2380) (byte-code "\300\301!C\207" [magit-read-branch-or-commit "Reset index to"] 2)])
#@77 Reset the worktree to COMMIT.
Keep the `HEAD' and index as-is.

(fn COMMIT)
(defalias 'magit-reset-worktree #[257 "\304\305\306\"\210\305\307\310\311\312!!!\313\314\315\316\317!\320\"\321$\216\322 \211\203a \211\211\2039 \323\324\305\325P$\2049 \326\327\"\210\210\330	!\203P \331P\nB\332\333\334\335#\210)\202] \331PB\332\333\334\335#\210))\202d \336 \210\210*\266\337\305\340\"\210\341 \207" [magit--refresh-cache default-directory magit-tramp-process-environment process-environment magit-wip-commit-before-change nil " before reset" magit-convert-filename-for-git make-temp-name magit-git-dir "index.magit." make-byte-code 0 "\3021 \303\304	!\300P!0\207\210\305\207" vconcat vector [default-directory (error) delete-file file-remote-p nil] 3 magit-toplevel magit-git-success "read-tree" "--index-output=" error "Cannot read tree %s" file-remote-p "GIT_INDEX_FILE=" magit-call-git "checkout-index" "--all" "--force" magit--not-inside-repository-error magit-wip-commit-after-apply " after reset" magit-refresh] 11 (#$ . 2740) (byte-code "\300\301!C\207" [magit-read-branch-or-commit "Reset worktree to"] 2)])
#@196 Reset the `HEAD' and index to COMMIT, and possibly the working tree.
With a prefix argument reset the working tree otherwise don't.

(git reset --mixed|--hard COMMIT)

(fn COMMIT &optional HARD)
(defalias 'magit-reset-quickly #[513 "\300\203	 \301\202\n \302\"\207" [magit-reset-internal "--hard" "--mixed"] 5 (#$ . 3873) (byte-code "\301\203 \302\303\304\"\305P\202 \306!D\207" [current-prefix-arg magit-reset-read-branch-or-commit magit--propertize-face "Hard" bold " reset %s to" "Reset %s to"] 4)])
#@172 Prompt for and return a ref to reset HEAD to.

PROMPT is a format string, where either the current branch name
or "detached head" will be substituted for %s.

(fn PROMPT)
(defalias 'magit-reset-read-branch-or-commit #[257 "\300\301\302 \206	 \303\"!\207" [magit-read-branch-or-commit format magit-get-current-branch "detached head"] 5 (#$ . 4389)])
#@34 

(fn ARG COMMIT &optional PATH)
(defalias 'magit-reset-internal #[770 "\301\235\2049 \302!\302\303!\232\2039 \304\305!r\211q\210\306\307\310\311\312!\313\"\314$\216\315\316\317\320\321$\210\2031  \210\322 \210\323 \210*\210\321\232\203G \204G \324\202H \325\326\327\330P\"\210\331\325\332%\210\211\324\232\205b \333\327\334\"\207" [git-commit-major-mode ("--hard" nil) magit-rev-parse "HEAD~" generate-new-buffer " *temp*" make-byte-code 0 "\301\300!\205	 \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 magit-git-insert "show" "-s" "--format=%B" "HEAD" git-commit-setup-font-lock git-commit-save-message "unstage" "reset" magit-wip-commit-before-change nil " before " magit-run-git "--" magit-wip-commit-after-apply " after unstage"] 10 (#$ . 4745)])
(provide 'magit-reset)
