mirror of https://github.com/Chizi123/.emacs.d.git

Chizi123
2018-11-17 c4001ccd1864293b64aa37d83a9d9457eb875e70
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
;ELC
;;; Compiled
;;; in Emacs version 26.1
;;; 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.
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
 
(byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310DD\311\312\313\314\315\316\317&    \210\304\320\306\307\321DD\322\312\323\314\315\316\324&    \210\304\325\306\307\326DD\327\312\330\314\315\316\331&    \210\304\332\306\307\333DD\334\312\335\314\315\316\336&    \210\304\337\306\307\340DD\341\312\342\314\315\316\343&    \210\304\344\306\307\345DD\346\312\347\314\315\316\350&    \207" [require magit magit-collab magit-reset custom-declare-variable magit-branch-read-upstream-first funcall function #[0 "\300\207" [t] 1] "Whether to read upstream before name of new branch when creating a branch.\n\n`nil'      Read the branch name first.\n`t'        Read the upstream first.\n`fallback' Read the upstream first, but if it turns out that the chosen\n           value is not a valid upstream (because it cannot be resolved\n           as an existing revision), then treat it as the name of the\n           new branch and continue by reading the upstream next." :package-version (magit . "2.2.0") :group magit-commands :type (choice (const :tag "read branch name first" nil) (const :tag "read upstream first" t) (const :tag "read upstream first, with fallback" fallback)) magit-branch-prefer-remote-upstream #[0 "\300\207" [nil] 1] "Whether to favor remote upstreams when creating new branches.\n\nWhen a new branch is created, then the branch, commit, or stash\nat point is suggested as the default starting point of the new\nbranch, or if there is no such revision at point the current\nbranch.  In either case the user may choose another starting\npoint.\n\nIf the chosen starting point is a branch, then it may also be set\nas the upstream of the new branch, depending on the value of the\nGit variable `branch.autoSetupMerge'.  By default this is done\nfor remote branches, but not for local branches.\n\nYou might prefer to always use some remote branch as upstream.\nIf the chosen starting point is (1) a local branch, (2) whose\nname matches a member of the value of this option, (3) the\nupstream of that local branch is a remote branch with the same\nname, and (4) that remote branch can be fast-forwarded to the\nlocal branch, then the chosen branch is used as starting point,\nbut its own upstream is used as the upstream of the new branch.\n\nMembers of this option's value are treated as branch names that\nhave to match exactly unless they contain a character that makes\nthem invalid as a branch name.  Recommended characters to use\nto trigger interpretation as a regexp are \"*\" and \"^\".  Some\nother characters which you might expect to be invalid, actually\nare not, e.g. \".+$\" are all perfectly valid.  More precisely,\nif `git check-ref-format --branch STRING' exits with a non-zero\nstatus, then treat STRING as a regexp.\n\nAssuming the chosen branch matches these conditions you would end\nup with with e.g.:\n\n  feature --upstream--> origin/master\n\ninstead of\n\n  feature --upstream--> master --upstream--> origin/master\n\nWhich you prefer is a matter of personal preference.  If you do\nprefer the former, then you should add branches such as \"master\",\n\"next\", and \"maint\" to the value of this options." (magit . "2.4.0") (repeat string) magit-branch-adjust-remote-upstream-alist #[0 "\300\207" [nil] 1] "Alist of upstreams to be used when branching from remote branches.\n\nWhen creating a local branch from an ephemeral branch located\non a remote, e.g. a feature or hotfix branch, then that remote\nbranch should usually not be used as the upstream branch, since\nthe push-remote already allows accessing it and having both the\nupstream and the push-remote reference the same related branch\nwould be wasteful.  Instead a branch like \"maint\" or \"master\"\nshould be used as the upstream.\n\nThis option allows specifing the branch that should be used as\nthe upstream when branching certain remote branches.  The value\nis an alist of the form ((UPSTREAM . RULE)...).  The first\nmatching element is used, the following elements are ignored.\n\nUPSTREAM is the branch to be used as the upstream for branches\nspecified by RULE.  It can be a local or a remote branch.\n\nRULE can either be a regular expression, matching branches whose\nupstream should be the one specified by UPSTREAM.  Or it can be\na list of the only branches that should *not* use UPSTREAM; all\nother branches will.  Matching is done after stripping the remote\npart of the name of the branch that is being branched from.\n\nIf you use a finite set of non-ephemeral branches across all your\nrepositories, then you might use something like:\n\n  ((\"origin/master\" \"master\" \"next\" \"maint\"))\n\nOr if the names of all your ephemeral branches contain a slash,\nat least in some repositories, then a good value could be:\n\n  ((\"origin/master\" . \"/\"))\n\nOf course you can also fine-tune:\n\n  ((\"origin/maint\" . \"\\\\\\=`hotfix/\")\n   (\"origin/master\" . \"\\\\\\=`feature/\"))\n\nIf you use remote branches as UPSTREAM, then you might also want\nto set `magit-branch-prefer-remote-upstream' to a non-nil value.\nHowever, I recommend that you use local branches as UPSTREAM." (magit . "2.9.0") (repeat (cons (string :tag "Use upstream") (choice :tag "for branches" (regexp :tag "matching") (repeat :tag "except" (string :tag "branch"))))) magit-branch-rename-push-target #[0 "\300\207" [t] 1] "Whether the push-remote setup is preserved when renaming a branch.\n\nThe command `magit-branch-rename' renames a branch named OLD to\nNEW.  This option controls how much of the push-remote setup is\npreserved when doing so.\n\nWhen nil, then preserve nothing and unset `branch.OLD.pushRemote'.\n\nWhen `local-only', then first set `branch.NEW.pushRemote' to the\n  same value as `branch.OLD.pushRemote', provided the latter is\n  actually set and unless the former already has another value.\n\nWhen t, then rename the branch named OLD on the remote specified\n  by `branch.OLD.pushRemote' to NEW, provided OLD exists on that\n  remote and unless NEW already exists on the remote.\n\nWhen `forge-only' and the `forge' package is available, then\n  behave like `t' if the remote points to a repository on a forge\n  (currently Github or Gitlab), otherwise like `local-only'.\n\nAnother supported but obsolete value is `github-only'.  It is a\n  misnomer because it now treated as an alias for `forge-only'." (magit . "2.90.0") (choice (const :tag "Don't preserve push-remote setup" nil) (const :tag "Preserve push-remote setup" local-only) (const :tag "... and rename corresponding branch on remote" t) (const :tag "... but only if remote is on a forge" forge-only)) magit-branch-popup-show-variables #[0 "\300\207" [t] 1] "Whether the `magit-branch-popup' shows Git variables.\nThis defaults to t to avoid changing key bindings.  When set to\nnil, no variables are displayed directly in this popup, instead\nthe sub-popup `magit-branch-config-popup' has to be used to view\nand change branch related variables." (magit . "2.7.0") boolean magit-published-branches #[0 "\300\207" [("origin/master")] 1] "List of branches that are considered to be published." (magit . "2.13.0") (repeat string)] 10)
#@56 Popup console for branch commands.
 
(fn &optional ARG)
(defalias 'magit-branch-popup #[256 "\300\301\302#\207" [magit-invoke-popup magit-branch-popup nil] 5 (#$ . 7538) "P"])
(defvar magit-branch-popup (byte-code "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\310\325#?\205\326BBBBBBBBBBBB\327\330\331\332\333\334\257\207" [:variable magit-branch-arguments :man-page "git-branch" :variables #[0 "\205    \207" [magit-branch-popup-show-variables magit-branch-config-variables] 1] :actions (98 "Checkout" magit-checkout) nil (67 "Configure..." magit-branch-config-popup) (108 "Checkout local branch" magit-branch-checkout) (115 "Create new spin-off" magit-branch-spinoff) (109 "Rename" magit-branch-rename) (99 "Checkout new branch" magit-branch-and-checkout) (110 "Create new branch" magit-branch-create) (120 "Reset" magit-branch-reset) (119 "Checkout new worktree" magit-worktree-checkout) (87 "Create new worktree" magit-worktree-branch) (107 "Delete" magit-branch-delete) require forge t ((121 "Checkout pull-request" magit-checkout-pull-request) (89 "Create from pull-request" magit-branch-pull-request)) :default-action magit-checkout :max-action-columns 3 :setup-function magit-branch-popup-setup] 23))
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\207" [magit-define-popup-keys-deferred magit-branch-popup custom-declare-variable magit-branch-arguments funcall function #[0 "\301\302\"\207" [magit-branch-popup plist-get :default-arguments] 3] "" :group magit-git-arguments :type (repeat (string :tag "Argument"))] 8)
(defalias 'magit-branch-arguments #[0 "\303=\203    \207\n\207" [magit-current-popup magit-current-popup-args magit-branch-arguments magit-branch-popup] 2])
(put 'magit-branch-arguments 'definition-name 'magit-branch-popup)
#@16 
 
(fn VAL DEF)
(defalias 'magit-branch-popup-setup #[514 "\302\"\210\303\304!!\210\305\306\307\310!\"\211\2056\211@\311\312\313!    >\204(\314\315\316D\"\210\317H!\320\"\210A\266\202\202\207" [magit-popup-mode-map cl-struct-magit-popup-event-tags magit-popup-default-setup use-local-map copy-keymap -filter magit-popup-event-p magit-popup-get :variables local-set-key vector type-of signal wrong-type-argument magit-popup-event 1 magit-invoke-popup-action] 10 (#$ . 9361)])
#@299 Checkout REVISION, updating the index and the working tree.
If REVISION is a local branch, then that becomes the current
branch.  If it is something else, then `HEAD' becomes detached.
Checkout fails if the working tree or the staging area contain
changes.
 
(git checkout REVISION).
 
(fn REVISION)
(defalias 'magit-checkout #[257 "\300\301\"\203 \302\303\"\262\304\305\"\207" [string-match "\\`heads/\\(.+\\)" match-string 1 magit-run-git "checkout"] 4 (#$ . 9850) (byte-code "\300\301!C\207" [magit-read-other-branch-or-commit "Checkout"] 2)])
#@131 Create BRANCH at branch or revision START-POINT.
 
(git branch [ARGS] BRANCH START-POINT).
 
(fn BRANCH START-POINT &optional ARGS)
(defalias 'magit-branch-create #[770 "\300\301$\210\302\"\210\303 \207" [magit-call-git "branch" magit-branch-maybe-adjust-upstream magit-refresh] 8 (#$ . 10407) (magit-branch-read-args "Create branch")])
#@149 Create and checkout BRANCH at branch or revision START-POINT.
 
(git checkout [ARGS] -b BRANCH START-POINT).
 
(fn BRANCH START-POINT &optional ARGS)
(defalias 'magit-branch-and-checkout #[770 "\301\302\303\304#)\266\203\203\305\306\307$\207\310\311\312%\210\313\"\210\314 \207" [inhibit-changing-match-data "^stash@{[0-9]+}$" nil t string-match magit-run-git "stash" "branch" magit-call-git "checkout" "-b" magit-branch-maybe-adjust-upstream magit-refresh] 10 (#$ . 10754) (magit-branch-read-args "Create and checkout branch")])
#@465 Hybrid between `magit-checkout' and `magit-branch-and-checkout'.
 
Ask the user for an existing branch or revision.  If the user
input actually can be resolved as a branch or revision, then
check that out, just like `magit-checkout' would.
 
Otherwise create and checkout a new branch using the input as
its name.  Before doing so read the starting-point for the new
branch.  This is similar to what `magit-branch-and-checkout'
does.
 
(fn ARG &optional START-POINT)
(defalias 'magit-branch-or-checkout #[513 "\300\301\"\203 \302\303\"\262\211\203\304\305 #\207\306!\207" [string-match "\\`heads/\\(.+\\)" match-string 1 magit-branch-and-checkout magit-branch-arguments magit-checkout] 6 (#$ . 11305) (byte-code "\300\301!\211\302!?\205\303\304\"D\207" [magit-read-other-branch-or-commit "Checkout" magit-rev-verify-commit magit-read-starting-point "Create and checkout branch"] 5)])
#@937 Checkout an existing or new local branch.
 
Read a branch name from the user offering all local branches and
a subset of remote branches as candidates.  Omit remote branches
for which a local branch by the same name exists from the list
of candidates.  The user can also enter a completely new branch
name.
 
- If the user selects an existing local branch, then check that
  out.
 
- If the user selects a remote branch, then create and checkout
  a new local branch with the same name.  Configure the selected
  remote branch as push target.
 
- If the user enters a new branch name, then create and check
  that out, after also reading the starting-point from the user.
 
In the latter two cases the upstream is also set.  Whether it is
set to the chosen START-POINT or something else depends on the
value of `magit-branch-adjust-remote-upstream-alist', just like
when using `magit-branch-and-checkout'.
 
(fn BRANCH &optional START-POINT)
(defalias 'magit-branch-checkout #[513 "\211\204\300!\207\301 \203\302\303!\210\304\305 #\210\306!\205B\307!\211@A\211\232\205>\211\310\311!\232?\205>\312\313    \314$\266\202\266\203\207" [magit-checkout magit-anything-modified-p user-error "Cannot checkout when there are uncommitted changes" magit-branch-and-checkout magit-branch-arguments magit-remote-branch-p magit-split-branch-name magit-get "remote.pushDefault" magit-set "branch" "pushRemote"] 12 (#$ . 12206) (byte-code "\300 \301 \302\303 \304\2033@\305\306\"\203'\211\304\225\302O\307B\235\204'\211B\262\210\211T\262A\262\202\266\211\237\262\310\"\244\311 \312\313\302\211\211\314    \235@\206h\205h\305\306    \"\205d\304\225\302O    \235@&\211\235\203\201\305\306\"\205|\211\304\225\302OD\202\222\211\235\203\214\211C\202\222\211\315\316\"D\207" [magit-get-current-branch magit-list-local-branch-names nil magit-list-remote-branch-names 0 string-match "[^/]+/" "HEAD" delete magit-branch-at-point magit-completing-read "Checkout branch" magit-revision-history magit-read-starting-point "Create"] 15)])
#@27 
 
(fn BRANCH START-POINT)
(defalias 'magit-branch-maybe-adjust-upstream #[514 "\302!\203\f\303!\206e\304!\205e\305!A\306\307\310\203]\203]@\203.\306\262\202Q\211A<\203<A\235?\202K\211A\306\307\311#)\266\203\203Q\211\262\210\211T\262A\262\202\266\211\262@\262\211\205p\312\313\314P#\207" [magit-branch-adjust-remote-upstream-alist inhibit-changing-match-data magit-get-upstream-branch magit-get-indirect-upstream-branch magit-remote-branch-p magit-split-branch-name nil t 0 string-match magit-call-git "branch" "--set-upstream-to="] 15 (#$ . 14266)])
#@171 Create and checkout an orphan BRANCH with contents from revision START-POINT.
 
(git checkout --orphan [ARGS] BRANCH START-POINT).
 
(fn BRANCH START-POINT &optional ARGS)
(defalias 'magit-branch-orphan #[770 "\300\301\302%\207" [magit-run-git "checkout" "--orphan"] 9 (#$ . 14863) (magit-branch-read-args "Create and checkout orphan branch")])
#@109 Create and configure a new branch from a pull-request.
Please see the manual for more information.
 
(fn PR)
(defalias 'magit-branch-pull-request #[257 "\211\302\303\304\236A\236A\236A\305\306\303\307\236A\236A\236A\236A\310\307\236A\236A\302\303\307\236A\236A\236A\311\303\307\236A\236A\236A\312\303\307\236A\236A\236A\313\236A\310\304    \236A\236A\314    \236A\315\n\236A\316\317 \320\321\203\213\203\213@\203p\316\262\202\322\323\324\325#\"\203\211\262\210\211T\262A\262\202\\\266\211\262\206\230\326\327 \"\323\324\325#\n\330\320\" \331!\203\331\332Q\333!\204\275\334\335\"\210\320\336\"\210)\337\340\341$\210\337\340\342$\266\202\204\343!\203\323\324\325#\344\324\335#\322\"\204\370\326\345#\210\346\347\"\235\204\334\324\350\351%\210\334\335\"\210\266\202X\334\324\352\353\354\355    \356\357 \"\2041\356\360 \"\2036\202U\356\361 \"\203C\202U\356\362 \"\203P\202U\363\364 \"&\210\334\340\332Q#\210\204l\232\204v\337\340\341$\210\202}\337\340\341$\210\337\340\342$\210\337\365\340\366$\210\334\340\367    \203\234\332 Q\202\236 P#\210\337\370!\340\371$\210\337\340\372$\210\373 \210\266\205\266\212\207" [inhibit-magit-refresh magit-branch-prefer-remote-upstream ssh_url repo base login owner head ref clone_url git_url locked number title nil magit-list-remotes t 0 magit--github-url-equal magit-get "remote" "url" user-error "Upstream repository %s not available as a remote" magit--pullreq-branch magit--pullreq-from-upstream-p "/" magit-branch-p magit-call-git "fetch" magit-branch-create magit-set "branch" "pushRemote" "pullRequestRemote" magit-remote-p magit-get-all "Remote `%s' already exists but does not point to %s" format "+refs/heads/*:refs/remotes/%s/*" "set-branches" "--add" "add" "-f" "--no-tags" "-t" string-prefix-p "git@" "ssh://git@" "https://" "git://" error "%s has an unexpected format" "true" "rebase" "--set-upstream-to=" number-to-string "pullRequest" "description" magit-refresh] 28 (#$ . 15218) (byte-code "\300\301!C\207" [magit-read-pull-request "Branch pull request"] 2)])
#@119 Create, configure and checkout a new branch from a pull-request.
Please see the manual for more information.
 
(fn PR)
(defalias 'magit-checkout-pull-request #[257 "\301\302\303!)!\207" [inhibit-magit-refresh magit-checkout t magit-branch-pull-request] 4 (#$ . 17365) (byte-code "\300\301!C\207" [magit-read-pull-request "Checkout pull request"] 2)])
#@15 
 
(fn PROMPT)
(defalias 'magit-branch-read-args #[257 "\302 \203X\303!\304!\203?\305    \203\306\307#\202\310\311\312\313\314\"A\314#\315 \235\2056\211\316 \235?\2056\211\262\"E\202S\317=\203O\211\303\"E\202S\320\321\"\262\202f\305\322P!\211\303\"E\262\207" [magit-branch-read-upstream-first magit-completing-read--silent-default magit-branch-arguments magit-read-starting-point magit-rev-verify magit-read-string-ns format "%s (starting at `%s')" "Name for new branch" mapconcat identity split-string "/" magit-list-remote-branch-names magit-list-local-branch-names fallback user-error "Not a valid starting-point: %s" " named"] 10 (#$ . 17723)])
#@1386 Create new branch from the unpushed commits.
 
Create and checkout a new branch starting at and tracking the
current branch.  That branch in turn is reset to the last commit
it shares with its upstream.  If the current branch has no
upstream or no unpushed commits, then the new branch is created
anyway and the previously current branch is not touched.
 
This is useful to create a feature branch after work has already
began on the old branch (likely but not necessarily "master").
 
If the current branch is a member of the value of option
`magit-branch-prefer-remote-upstream' (which see), then the
current branch will be used as the starting point as usual, but
the upstream of the starting-point may be used as the upstream
of the new branch, instead of the starting-point itself.
 
If optional FROM is non-nil, then the source branch is reset
to `FROM~', instead of to the last commit it shares with its
upstream.  Interactively, FROM is only ever non-nil, if the
region selects some commits, and among those commits, FROM is
the commit that is the fewest commits ahead of the source
branch.
 
The commit at the other end of the selection actually does not
matter, all commits between FROM and `HEAD' are moved to the new
branch.  If FROM is not reachable from `HEAD' or is reachable
from the source branch's upstream, then an error is raised.
 
(fn BRANCH &optional FROM &rest ARGS)
(defalias 'magit-branch-spinoff #[641 "\301!\203 \302\303\"\210\304 \211\203\220\305!\306\203>\307\"\204*\302\310$\210\203>\307\"\203>\302\311$\210\312\313\314\315    %\210)\316!\211\203Z\313\317\320\n$\210\210\203\211\203i\321P\202n\322\323#\211\262\203\211\324\"\204\211\313\325\326\327\330\"\331P%\210\332 \266\202\202\226\333\314\315#\207" [magit-process-raise-error magit-branch-p user-error "Cannot spin off %s.  It already exists" magit-get-current-branch magit-get-upstream-branch nil magit-rev-ancestor-p "Cannot spin off %s.  %s is not reachable from %s" "Cannot spin off %s.  %s is ancestor of upstream %s" t magit-call-git "checkout" "-b" magit-get-indirect-upstream-branch "branch" "--set-upstream-to" "^" magit-git-string "merge-base" magit-rev-eq "update-ref" "-m" format "reset: moving to %s" "refs/heads/" magit-refresh magit-run-git] 12 (#$ . 18409) (byte-code "\300\301!\302\303\304!!@\305 E\207" [magit-read-string-ns "Spin off branch" last magit-region-values commit magit-branch-arguments] 4)])
#@560 Reset a branch to the tip of another branch or any other commit.
 
When the branch being reset is the current branch, then do a
hard reset.  If there are any uncommitted changes, then the user
has to confirm the reset because those changes would be lost.
 
This is useful when you have started work on a feature branch but
realize it's all crap and want to start over.
 
When resetting to another branch and a prefix argument is used,
then also set the target branch as the upstream of the branch
that is being reset.
 
(fn BRANCH TO &optional ARGS SET-UPSTREAM)
(defalias 'magit-branch-reset #[1026 "\300\235\204 \300B\262\301 \232\2034\302 \203!\303\304!\204!\305\306!\207\307!\210\211\2053\310!\2053\311\"\207\312#\207" ["--force" magit-get-current-branch magit-anything-modified-p yes-or-no-p "Uncommitted changes will be lost.  Proceed? " user-error "Abort" magit-reset-hard magit-branch-p magit-set-upstream-branch magit-branch-create] 8 (#$ . 20870) (byte-code "\301 \302\303\"\211\304\305\306\"\307\310 \"\311\211\211\312\n\232\204\"    \206&\313    !&\314 F\207" [current-prefix-arg magit-local-branch-at-point magit-read-local-branch "Reset branch" magit-completing-read format "Reset %s to" delete magit-list-branch-names nil magit-revision-history magit-get-upstream-branch magit-branch-arguments] 12)])
#@219 Delete one or multiple branches.
If the region marks multiple branches, then offer to delete
those, otherwise prompt for a single branch to be deleted,
defaulting to the branch at point.
 
(fn BRANCHES &optional FORCE)
(defalias 'magit-branch-delete #[513 "\301\302\"\303\304\203\"@\211\204\211B\262\210\211T\262A\262\202\266\211\237\262\211\203W\305\306G\211\307U\203A\310\311\312\313\n\"\"\202S\211GU\203O\310\314\"\202S\310\315\"\262\"\210\316\317@\"\203\212\320\307@\"\211GT\321\322\301\323\324\325\326\327    !\330\"\331\332%\n\"#\210\333\334\335\"\"\266\202\202uG\307V\203\263\336\337 \"\262\340\341\"\210\340\342\"\210\343\344\203\254\345\202\255\346#\202u@\310\347\"\337 \232\203]\350\232\204\314\351\350!\204\346\352\353P\354\"\211\355\267\202\340\356\202\341\357\202\341\303\262\202\352\360P\361\"\211\362\267\202\376\356\202\377\363\202\377\357\202\377\303\262\211\364\267\202Y\365\232\204%\235\204%\366\367\"\204%\370\371\372\373\303C%\210\374\375\376\"\210\202Y\377\232\204K\235\204K\366\350\"\204K\370\371\372\373\303C%\210\374\375\350\"\210\202Y\305\201@!\210\210\367\262\341!\210\342!\210\343\344\203p\345\202q\346#\266\202\207" [magit-this-process mapcar magit-ref-fullname nil 0 user-error "%s ambiguous.  Please cleanup using git directly." 1 format "%s is" -first magit-ref-ambiguous-p "These %s names are" "%s of these names are" string-match "^refs/remotes/\\([^/]+\\)" match-string magit-run-git-async "push" make-byte-code 257 "\301\300\302OP\207" vconcat vector [":" nil] 5 "\n\n(fn IT)" set-process-sentinel apply-partially magit-delete-remote-branch-sentinel delete magit-get-current-branch mapc magit-branch-maybe-delete-pr-remote magit-branch-unset-pushRemote magit-run-git "branch" "-D" "-d" "Branch %s is checked out.  " "master" magit-rev-verify read-char-choice "[d]etach HEAD & delete, [a]bort " (100 97) #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (100 216 97 220)) detach abort "[d]etach HEAD & delete, [c]heckout master & delete, [a]bort " (100 99 97) #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (100 242 99 246 97 250)) master #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (detach 263 master 301 abort 339)) (4) magit-branch-merged-p t magit-confirm delete-unmerged-branch "Delete unmerged branch %s" "" magit-call-git "checkout" "--detach" (4) "Abort"] 16 (#$ . 22212) (byte-code "\301\302\303\"G\304V\203\305\303\306\307\306%\210\202&\310\203!\311\202\"\312!C\262\211\204Q\313\314\"\211\203P\305\315\316\317\320%\203B\262\202P\321\"\211\262\204P\322\323!\210\210D\207" [current-prefix-arg magit-region-values branch t 1 magit-confirm nil "Delete %i branches" magit-read-branch-prefer-other "Force delete branch" "Delete branch" -remove magit-branch-merged-p delete-unmerged-branch "Delete unmerged branch %s" "Delete %i unmerged branches" noabort -difference user-error "Abort"] 9)])
(put 'magit-branch-delete 'interactive-only t)
#@15 
 
(fn BRANCH)
(defalias 'magit-branch-maybe-delete-pr-remote #[257 "\300\301\302#\211\205\303\304\"\305!\303\306\"\235?\205}\300\301\307#\232\203.\303\310$\202Q\300\301\311#\211\205O\312\313\"\205O\211\314\315O\211\262\205O\303\310$\262\211\235\205{G\316U\203s\317\320\303\321\322#\"\203s\323\324\325#\202{\323\326\327\330!$\262\266\202\207" [magit-get "branch" "pullRequestRemote" format "remote.%s.fetch" magit-get-all "+refs/heads/*:refs/remotes/%s/*" "pushRemote" "+refs/heads/%s:refs/remotes/%s/%s" "merge" string-prefix-p "refs/heads/" 11 nil 1 magit-confirm delete-pr-remote "Also delete remote %s (%s)" "no pull-request branch remains" magit-call-git "remote" "rm" "config" "--unset" regexp-quote] 11 (#$ . 25333)])
#@15 
 
(fn BRANCH)
(defalias 'magit-branch-unset-pushRemote #[257 "\300\301\302\303$\207" [magit-set nil "branch" "pushRemote"] 6 (#$ . 26103)])
#@27 
 
(fn REFS PROCESS EVENT)
(defalias 'magit-delete-remote-branch-sentinel #[771 "\301!\302>\205S\303!\304U\203\305\"\207\306\307\"\211\203M\310\311\312#\210\305\"\210\313\314\315\316\"\210\211\211\203C\211@\317\320\321#\210A\266\202\2020\210\322 \210\314\323!\202Q\305\"\262\207" [magit-this-error process-status (exit signal) process-exit-status 0 magit-process-sentinel -filter magit-ref-exists-p process-put inhibit-refresh t nil message "Some remote branches no longer exist.  %s" "Deleting just the local tracking refs instead..." magit-call-git "update-ref" "-d" magit-refresh "Deleting local remote-tracking refs...done"] 10 (#$ . 26250)])
#@354 Rename the branch named OLD to NEW.
 
With a prefix argument FORCE, rename even if a branch named NEW
already exists.
 
If `branch.OLD.pushRemote' is set, then unset it.  Depending on
the value of `magit-branch-rename-push-target' (which see) maybe
set `branch.NEW.pushRemote' and maybe rename the push-target on
the remote.
 
(fn OLD NEW &optional FORCE)
(defalias 'magit-branch-rename #[770 "\301\302\"\203 \303\304\"\262\232\203\305\306!\210\307\310\203!\311\202\"\312$\210\203\254\313!\314\310\315#\314\310\315#\203K\204C\211\204K\316\310\315$\210\313!\232\203\252\317=\204\252\320>\203s\321\322\323\324#\203\252\325\326!\203\252\326!\203\252\327\324\"\327\324\"\313!\203\250\204\250\330\331\332  $!\203\250\307\333\334\331\335#\331\336\"%\210\266\266\337!\210\340 \207" [magit-branch-rename-push-target string-match "\\`heads/\\(.+\\)" match-string 1 user-error "Old and new branch names are the same" magit-call-git "branch" "-M" "-m" magit-get-push-remote magit-get "pushRemote" magit-set local-only (forge-only github-only) require forge nil t fboundp forge--forge-remote-p magit-get-push-branch magit-y-or-n-p format "Also rename %S to %S on %S" "push" "-v" "%s:refs/heads/%s" ":refs/heads/%s" magit-branch-unset-pushRemote magit-refresh] 17 (#$ . 26924) (byte-code "\301\302!\211\303\304\305\"\306\307#E\207" [current-prefix-arg magit-read-local-branch "Rename branch" magit-read-string-ns format "Rename branch '%s' to" nil magit-revision-history] 6)])
#@128 Shelve a BRANCH.
Rename "refs/heads/BRANCH" to "refs/shelved/BRANCH",
and also rename the respective reflog file.
 
(fn BRANCH)
(defalias 'magit-branch-shelve #[257 "\300P\301P\302\303\304$\210\305\"\210\306!\210\307\310\311#\207" ["refs/heads/" "refs/shelved/" magit-git "update-ref" "" magit--rename-reflog-file magit-branch-unset-pushRemote magit-run-git "branch" "-D"] 8 (#$ . 28455) (byte-code "\300\301!C\207" [magit-read-other-local-branch "Shelve branch"] 2)])
#@129 Unshelve a BRANCH
Rename "refs/shelved/BRANCH" to "refs/heads/BRANCH",
and also rename the respective reflog file.
 
(fn BRANCH)
(defalias 'magit-branch-unshelve #[257 "\300P\301P\302\303\304$\210\305\"\210\306\303\307#\207" ["refs/shelved/" "refs/heads/" magit-git "update-ref" "" magit--rename-reflog-file magit-run-git "-d"] 8 (#$ . 28938) (byte-code "\300\301\302\303\304\305!\"\306\307$C\207" [magit-completing-read "Unshelve branch" mapcar #[257 "\211\300\301O\207" [8 nil] 4 "\n\n(fn IT)"] magit-list-refnames "refs/shelved" nil t] 6)])
#@16 
 
(fn OLD NEW)
(defalias 'magit--rename-reflog-file #[514 "\300\301P!\300\301P!\302!\205\303\304!\305\"\210\306\305#\207" [magit-git-dir "logs/" file-exists-p make-directory file-name-directory t rename-file] 8 (#$ . 29494)])
(defvar magit-branch-config-branch nil)
#@58 Popup console for setting branch variables.
 
(fn BRANCH)
(defalias 'magit-branch-config-popup #[257 "\211\301\302\303\211#)\207" [magit-branch-config-branch magit-invoke-popup magit-branch-config-popup nil] 5 (#$ . 29774) (byte-code "\204    \303=\203\n\203\304\305!\202\306 C\207" [current-prefix-arg magit-current-popup magit-branch-popup-show-variables magit-branch-popup magit-read-local-branch "Configure branch" magit-get-current-branch] 2)])
(defvar magit-branch-config-variables '((lambda nil (concat (propertize "Configure " 'face 'magit-popup-heading) (propertize (magit-branch-config-branch) 'face 'magit-branch-local))) (100 "branch.%s.description" magit-edit-branch*description magit-format-branch*description) (117 "branch.%s.merge" magit-set-branch*merge/remote magit-format-branch*merge/remote) (114 "branch.%s.rebase" magit-cycle-branch*rebase magit-format-branch*rebase) (112 "branch.%s.pushRemote" magit-cycle-branch*pushRemote magit-format-branch*pushRemote) "Configure repository defaults" (134217842 "pull.rebase" magit-cycle-pull\.rebase magit-format-pull\.rebase) (134217840 "remote.pushDefault" magit-cycle-remote\.pushDefault magit-format-remote\.pushDefault) "Configure branch creation" (85 "branch.autoSetupMerge" magit-cycle-branch*autoSetupMerge magit-format-branch*autoSetupMerge) (82 "branch.autoSetupRebase" magit-cycle-branch*autoSetupRebase magit-format-branch*autoSetupRebase)))
(defvar magit-branch-config-popup (byte-code "\301\302\303\304BBBB\207" [magit-branch-config-variables :man-page "git-branch" :variables (:setup-function magit-branch-config-popup-setup)] 5))
#@16 
 
(fn VAL DEF)
(defalias 'magit-branch-config-popup-setup #[514 "\303\"\210\304\300!\210\305\306    !!\210\307\310\311\312!\"\211\205<\211@\313\314\315!\n>\204.\316\317\320D\"\210\321H!\322\"\210A\266\202\202\207" [magit-branch-config-branch magit-popup-mode-map cl-struct-magit-popup-event-tags magit-popup-default-setup make-local-variable use-local-map copy-keymap -filter magit-popup-event-p magit-popup-get :variables local-set-key vector type-of signal wrong-type-argument magit-popup-event 1 magit-invoke-popup-action] 10 (#$ . 31395)])
#@25 
 
(fn &optional PROMPT)
(defalias 'magit-branch-config-branch #[256 "\211\203\204    \206\302 \206\303!\207    \206\302 \206\304\207" [current-prefix-arg magit-branch-config-branch magit-get-current-branch magit-read-local-branch "<name>"] 3 (#$ . 31954)])
#@223 Edit the description of the current branch.
With a prefix argument edit the description of another branch.
 
The description for the branch named NAME is stored in the Git
variable `branch.<name>.description'.
 
(fn BRANCH)
(defalias 'magit-edit-branch*description #[257 "\300\301\302#\207" [magit-run-git-with-editor "branch" "--edit-description"] 5 (#$ . 32226) (byte-code "\300\301!C\207" [magit-branch-config-branch "Edit branch description"] 2)])
(defalias 'magit-edit-branch*description-check-buffers #[0 "\205\302\303\304\305#)\266\203\205\306\307\310\303\304$\207" [buffer-file-name inhibit-changing-match-data "/\\(BRANCH\\|EDIT\\)_DESCRIPTION\\'" nil t string-match add-hook with-editor-post-finish-hook #[0 "\300\301!\205\302 \207" [derived-mode-p magit-popup-mode magit-refresh-popup-buffer] 2]] 7])
(add-hook 'find-file-hook 'magit-edit-branch*description-check-buffers)
(defalias 'magit-format-branch*description #[0 "\300 \211G\301\\\302\303\"\211\304\305GZ\306\"\307!\211\203&\310\311\312\"@\313\314#\202+\310\315\313\316#\262R\207" [magit-branch-config-branch 19 format "branch.%s.description" " " make-string 32 magit-get propertize split-string "\n" face magit-popup-option-value "unset" magit-popup-disabled-argument] 11])
#@727 Set or unset the upstream of the current branch.
With a prefix argument do so for another branch.
 
When the branch in question already has an upstream then simply
unsets it.  Invoke this command again to set another upstream.
 
Together the Git variables `branch.<name>.remote' and
`branch.<name>.merge' define the upstream branch of the local
branch named NAME.  The value of `branch.<name>.remote' is the
name of the upstream remote.  The value of `branch.<name>.merge'
is the full reference of the upstream branch, on the remote.
 
Non-interactively, when UPSTREAM is non-nil, then always set it
as the new upstream, regardless of whether another upstream was
already set.  When nil, then always unset.
 
(fn BRANCH UPSTREAM)
(defalias 'magit-set-branch*merge/remote #[514 "\300\"\210\301 \207" [magit-set-upstream-branch magit-refresh] 5 (#$ . 33495) (byte-code "\300\301!\211\302!?\205\303!D\207" [magit-branch-config-branch "Change upstream of branch" magit-get-upstream-branch magit-read-upstream-branch] 4)])
(defalias 'magit-format-branch*merge/remote #[0 "\300 \211G\301\\\302\303\"\302\304\"\305!\306\232\203\307\202\310\311GZ\312\"\305!\211\2033\313\314#\2028\313\315\314\316#\262\317\311    GZ\312\"\305!\211\203V\313\314\n#\202[\313\315\314\316#\262\260\207" [magit-branch-config-branch 20 format "branch.%s.merge" "branch.%s.remote" magit-get "." magit-branch-local magit-branch-remote make-string 32 propertize face "unset" magit-popup-disabled-argument "\n   "] 16])
#@516 Cycle the value of `branch.<name>.rebase' for the current branch.
With a prefix argument cycle the value for another branch.
 
The Git variables `branch.<name>.rebase' controls whether pulling
into the branch named NAME is done by rebasing that branch onto
the fetched branch or by merging that branch.
 
When `true' then pulling is done by rebasing.
When `false' then pulling is done by merging.
 
When that variable is undefined then the value of `pull.rebase'
is used instead.  It defaults to `false'.
 
(fn BRANCH)
(defalias 'magit-cycle-branch*rebase #[257 "\300\301\302\"\303\304\305$\207" [magit--set-popup-variable format "branch.%s.rebase" ("true" "false") "false" "pull.rebase"] 6 (#$ . 35015) (byte-code "\300\301!C\207" [magit-branch-config-branch "Cycle branch.<name>.rebase for"] 2)])
(defalias 'magit-format-branch*rebase #[0 "\300 \301\302\303\"\304\305\306G\307\\%\207" [magit-branch-config-branch magit--format-popup-variable:choices format "branch.%s.rebase" ("true" "false") "false" "pull.rebase" 20] 8])
#@473 Cycle the value of `branch.<name>.pushRemote' for the current branch.
With a prefix argument cycle the value for another branch.
 
The Git variable `branch.<name>.pushRemote' specifies the remote
that the branch named NAME is usually pushed to.  The value has
to be the name of an existing remote.
 
If that variable is undefined, then the value of the Git variable
`remote.pushDefault' is used instead, provided that it is defined,
which by default it is not.
 
(fn BRANCH)
(defalias 'magit-cycle-branch*pushRemote #[257 "\300\301\302\"\303 \304#\207" [magit--set-popup-variable format "branch.%s.pushRemote" magit-list-remotes "remote.pushDefault"] 5 (#$ . 36046) (byte-code "\300\301!C\207" [magit-branch-config-branch "Cycle branch.<name>.pushRemote for"] 2)])
(defalias 'magit-format-branch*pushRemote #[0 "\300 \301\302\303\"\304 \305\306G\307\\%\207" [magit-branch-config-branch magit--format-popup-variable:choices format "branch.%s.pushRemote" magit-list-remotes nil "remote.pushDefault" 20] 8])
#@322 Cycle the repository-local value of `pull.rebase'.
 
The Git variable `pull.rebase' specifies whether pulling is done
by rebasing or by merging.  It can be overwritten using the Git
variable `branch.<name>.rebase'.
 
When `true' then pulling is done by rebasing.
When `false' (the default) then pulling is done by merging.
(defalias 'magit-cycle-pull\.rebase #[0 "\300\301\302\303#\207" [magit--set-popup-variable "pull.rebase" ("true" "false") "false"] 4 (#$ . 37058) nil])
(defalias 'magit-format-pull\.rebase #[0 "\300\301\302\303\304\305%\207" [magit--format-popup-variable:choices "pull.rebase" ("true" "false") "false" nil 19] 6])
#@236 Cycle the repository-local value of `remote.pushDefault'.
 
The Git variable `remote.pushDefault' specifies the remote that
local branches are usually pushed to.  It can be overwritten
using the Git variable `branch.<name>.pushRemote'.
(defalias 'magit-cycle-remote\.pushDefault #[0 "\300\301\302 \"\207" [magit--set-popup-variable "remote.pushDefault" magit-list-remotes] 3 (#$ . 37700) nil])
(defalias 'magit-format-remote\.pushDefault #[0 "\300\301\302 \303\211\304%\207" [magit--format-popup-variable:choices "remote.pushDefault" magit-list-remotes nil 19] 6])
#@678 Cycle the repository-local value of `branch.autoSetupMerge'.
 
The Git variable `branch.autoSetupMerge' under what circumstances
creating a branch (named NAME) should result in the variables
`branch.<name>.merge' and `branch.<name>.remote' being set
according to the starting point used to create the branch.  If
the starting point isn't a branch, then these variables are never
set.
 
When `always' then the variables are set regardless of whether
the starting point is a local or a remote branch.
 
When `true' (the default) then the variable are set when the
starting point is a remote branch, but not when it is a local
branch.
 
When `false' then the variables are never set.
(defalias 'magit-cycle-branch*autoSetupMerge #[0 "\300\301\302\303#\207" [magit--set-popup-variable "branch.autoSetupMerge" ("always" "true" "false") "true"] 4 (#$ . 38271) nil])
(defalias 'magit-format-branch*autoSetupMerge #[0 "\300\301\302\303\304\305%\207" [magit--format-popup-variable:choices "branch.autoSetupMerge" ("always" "true" "false") "true" nil 23] 6])
#@640 Cycle the repository-local value of `branch.autoSetupRebase'.
 
The Git variable `branch.autoSetupRebase' specifies whether
creating a branch (named NAME) should result in the variable
`branch.<name>.rebase' being set to `true'.
 
When `always' then the variable is set regardless of whether the
starting point is a local or a remote branch.
 
When `local' then the variable are set when the starting point
is a local branch, but not when it is a remote branch.
 
When `remote' then the variable are set when the starting point
is a remote branch, but not when it is a local branch.
 
When `never' (the default) then the variable is never set.
(defalias 'magit-cycle-branch*autoSetupRebase #[0 "\300\301\302\303#\207" [magit--set-popup-variable "branch.autoSetupRebase" ("always" "local" "remote" "never") "never"] 4 (#$ . 39323) nil])
(defalias 'magit-format-branch*autoSetupRebase #[0 "\300\301\302\303\304\305%\207" [magit--format-popup-variable:choices "branch.autoSetupRebase" ("always" "local" "remote" "never") "never" nil 23] 6])
(provide 'magit-branch)