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

Chizi123
2018-11-21 e75a20334813452c6912c090d70a0de2c805f94d
commit | author | age
5cb5f7 1 This is magit.info, produced by makeinfo version 6.5 from magit.texi.
C 2
3      Copyright (C) 2015-2018 Jonas Bernoulli <jonas@bernoul.li>
4
5      You can redistribute this document and/or modify it under the terms
6      of the GNU General Public License as published by the Free Software
7      Foundation, either version 3 of the License, or (at your option)
8      any later version.
9
10      This document is distributed in the hope that it will be useful,
11      but WITHOUT ANY WARRANTY; without even the implied warranty of
12      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13      General Public License for more details.
14
15 INFO-DIR-SECTION Emacs
16 START-INFO-DIR-ENTRY
17 * Magit: (magit).       Using Git from Emacs with Magit.
18 END-INFO-DIR-ENTRY
19
20 
21 File: magit.info,  Node: Microsoft Windows Performance,  Next: MacOS Performance,  Up: Performance
22
23 Microsoft Windows Performance
24 .............................
25
26 In order to update the status buffer, ‘git’ has to be run a few dozen
27 times.  That is problematic on Microsoft Windows, because that operating
28 system is exceptionally slow at starting processes.  Sadly this is an
29 issue that can only be fixed by Microsoft itself, and they don’t appear
30 to be particularly interested in doing so.
31
32    Beside the subprocess issue, there are also other Windows-specific
33 performance issues.  Some of these have workarounds.  The maintainers of
34 "Git for Windows" try to improve performance on Windows.  Always use the
35 latest release in order to benefit from the latest performance tweaks.
36 Magit too tries to work around some Windows-specific issues.
37
38    According to some sources, setting the following Git variables can
39 also help.
40
41      git config --global core.preloadindex true   # default since v2.1
42      git config --global core.fscache true        # default since v2.8
43      git config --global gc.auto 256
44
45    You should also check whether an anti-virus program is affecting
46 performance.
47
48 
49 File: magit.info,  Node: MacOS Performance,  Prev: Microsoft Windows Performance,  Up: Performance
50
51 MacOS Performance
52 .................
53
54 On macOS Emacs currently creates child processes using ‘fork’.  It
55 appears that this also copies GUI resources.  The result is that forking
56 takes about 30 times as long on Darwin than on Linux.  And because Magit
57 starts many ‘git’ processes even when doing simple things, that makes
58 quite a difference.
59
60    On the ‘master’ branch Emacs now uses ‘vfork’ when possible, like
61 this was already done on Linux, and now child creation only takes about
62 twice as long on Darwin.  See (1) for more information.
63
64    Nobody knows when the changes on the ‘master’ branch will be released
65 as ‘26.1’, but it is still a long way off.  You might want to get your
66 hands on this change before then.  The easiest way to get a patched
67 Emacs is to install the ‘emacs-plus’ formula (2) using ‘homebrew’.  The
68 change has been backported, so you get it not only when using ‘--HEAD’,
69 but also when using ‘--devel’ or when installing the latest release (by
70 not using a version argument).
71
72    Alternatively you can apply the backport (3) manually.
73
74    ---------- Footnotes ----------
75
76    (1) 
77 <https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-04/msg00201.html>
78
79    (2) <https://github.com/d12frosted/homebrew-emacs-plus>
80
81    (3) 
82 <https://gist.githubusercontent.com/aaronjensen/f45894ddf431ecbff78b1bcf533d3e6b/raw/6a5cd7f57341aba673234348d8b0d2e776f86719/Emacs-25-OS-X-use-vfork.patch>
83
84 
85 File: magit.info,  Node: Plumbing,  Next: FAQ,  Prev: Customizing,  Up: Top
86
87 10 Plumbing
88 ***********
89
90 The following sections describe how to use several of Magit’s core
91 abstractions to extend Magit itself or implement a separate extension.
92
93    A few of the low-level features used by Magit have been factored out
94 into separate libraries/packages, so that they can be used by other
95 packages, without having to depend on Magit.  These libraries are
96 described in separate manuals, see *note (with-editor)Top:: and *note
97 (magit-popup)Top::.
98
99    If you are trying to find an unused key that you can bind to a
100 command provided by your own Magit extension, then checkout
101 <https://github.com/magit/magit/wiki/Plugin-Dispatch-Key-Registry>.
102
103 * Menu:
104
105 * Calling Git::
106 * Section Plumbing::
107 * Refreshing Buffers::
108 * Conventions::
109
110 
111 File: magit.info,  Node: Calling Git,  Next: Section Plumbing,  Up: Plumbing
112
113 10.1 Calling Git
114 ================
115
116 Magit provides many specialized functions for calling Git.  All of these
117 functions are defined in either ‘magit-git.el’ or ‘magit-process.el’ and
118 have one of the prefixes ‘magit-run-’, ‘magit-call-’, ‘magit-start-’, or
119 ‘magit-git-’ (which is also used for other things).
120
121    All of these functions accept an indefinite number of arguments,
122 which are strings that specify command line arguments for Git (or in
123 some cases an arbitrary executable).  These arguments are flattened
124 before being passed on to the executable; so instead of strings they can
125 also be lists of strings and arguments that are ‘nil’ are silently
126 dropped.  Some of these functions also require a single mandatory
127 argument before these command line arguments.
128
129    Roughly speaking, these functions run Git either to get some value or
130 for side-effects.  The functions that return a value are useful to
131 collect the information necessary to populate a Magit buffer, while the
132 others are used to implement Magit commands.
133
134    The functions in the value-only group always run synchronously, and
135 they never trigger a refresh.  The function in the side-effect group can
136 be further divided into subgroups depending on whether they run Git
137 synchronously or asynchronously, and depending on whether they trigger a
138 refresh when the executable has finished.
139
140 * Menu:
141
142 * Getting a Value from Git::
143 * Calling Git for Effect::
144
145 
146 File: magit.info,  Node: Getting a Value from Git,  Next: Calling Git for Effect,  Up: Calling Git
147
148 10.1.1 Getting a Value from Git
149 -------------------------------
150
151 These functions run Git in order to get a value, an exit status, or
152 output.  Of course you could also use them to run Git commands that have
153 side-effects, but that should be avoided.
154
155  -- Function: magit-git-exit-code &rest args
156
157      Executes git with ARGS and returns its exit code.
158
159  -- Function: magit-git-success &rest args
160
161      Executes git with ARGS and returns ‘t’ if the exit code is ‘0’,
162      ‘nil’ otherwise.
163
164  -- Function: magit-git-failure &rest args
165
166      Executes git with ARGS and returns ‘t’ if the exit code is ‘1’,
167      ‘nil’ otherwise.
168
169  -- Function: magit-git-true &rest args
170
171      Executes git with ARGS and returns ‘t’ if the first line printed by
172      git is the string "true", ‘nil’ otherwise.
173
174  -- Function: magit-git-false &rest args
175
176      Executes git with ARGS and returns ‘t’ if the first line printed by
177      git is the string "false", ‘nil’ otherwise.
178
179  -- Function: magit-git-insert &rest args
180
181      Executes git with ARGS and inserts its output at point.
182
183  -- Function: magit-git-string &rest args
184
185      Executes git with ARGS and returns the first line of its output.
186      If there is no output or if it begins with a newline character,
187      then this returns ‘nil’.
188
189  -- Function: magit-git-lines &rest args
190
191      Executes git with ARGS and returns its output as a list of lines.
192      Empty lines anywhere in the output are omitted.
193
194  -- Function: magit-git-items &rest args
195
196      Executes git with ARGS and returns its null-separated output as a
197      list.  Empty items anywhere in the output are omitted.
198
199      If the value of option ‘magit-git-debug’ is non-nil and git exits
200      with a non-zero exit status, then warn about that in the echo area
201      and add a section containing git’s standard error in the current
202      repository’s process buffer.
203
204    If an error occurs when using one of the above functions, then that
205 is usually due to a bug, i.e.  using an argument which is not actually
206 supported.  Such errors are usually not reported, but when they occur we
207 need to be able to debug them.
208
209  -- User Option: magit-git-debug
210
211      Whether to report errors that occur when using ‘magit-git-insert’,
212      ‘magit-git-string’, ‘magit-git-lines’, or ‘magit-git-items’.  This
213      does not actually raise an error.  Instead a message is shown in
214      the echo area, and git’s standard error is insert into a new
215      section in the current repository’s process buffer.
216
217  -- Function: magit-git-str &rest args
218
219      This is a variant of ‘magit-git-string’ that ignores the option
220      ‘magit-git-debug’.  It is mainly intended to be used while handling
221      errors in functions that do respect that option.  Using such a
222      function while handing an error could cause yet another error and
223      therefore lead to an infinite recursion.  You probably won’t ever
224      need to use this function.
225
226 
227 File: magit.info,  Node: Calling Git for Effect,  Prev: Getting a Value from Git,  Up: Calling Git
228
229 10.1.2 Calling Git for Effect
230 -----------------------------
231
232 These functions are used to run git to produce some effect.  Most Magit
233 commands that actually run git do so by using such a function.
234
235    Because we do not need to consume git’s output when using these
236 functions, their output is instead logged into a per-repository buffer,
237 which can be shown using ‘$’ from a Magit buffer or ‘M-x magit-process’
238 elsewhere.
239
240    These functions can have an effect in two distinct ways.  Firstly,
241 running git may change something, i.e.  create or push a new commit.
242 Secondly, that change may require that Magit buffers are refreshed to
243 reflect the changed state of the repository.  But refreshing isn’t
244 always desirable, so only some of these functions do perform such a
245 refresh after git has returned.
246
247    Sometimes it is useful to run git asynchronously.  For example, when
248 the user has just initiated a push, then there is no reason to make her
249 wait until that has completed.  In other cases it makes sense to wait
250 for git to complete before letting the user do something else.  For
251 example after staging a change it is useful to wait until after the
252 refresh because that also automatically moves to the next change.
253
254  -- Function: magit-call-git &rest args
255
256      Calls git synchronously with ARGS.
257
258  -- Function: magit-call-process program &rest args
259
260      Calls PROGRAM synchronously with ARGS.
261
262  -- Function: magit-run-git &rest args
263
264      Calls git synchronously with ARGS and then refreshes.
265
266  -- Function: magit-run-git-with-input input &rest args
267
268      Calls git synchronously with ARGS and sends it INPUT on standard
269      input.
270
271      INPUT should be a buffer or the name of an existing buffer.  The
272      content of that buffer is used as the process’ standard input.
273      After the process returns a refresh is performed.
274
275      As a special case, INPUT may also be nil.  In that case the content
276      of the current buffer is used as standard input and *no* refresh is
277      performed.
278
279      This function actually runs git asynchronously.  But then it waits
280      for the process to return, so the function itself is synchronous.
281
282  -- Function: magit-run-git-with-logfile file &rest args
283
284      Calls git synchronously with ARGS.  The process’ output is saved in
285      FILE.  This is rarely useful and so this function might be removed
286      in the future.
287
288      This function actually runs git asynchronously.  But then it waits
289      for the process to return, so the function itself is synchronous.
290
291  -- Function: magit-git &rest args
292
293      Calls git synchronously with ARGS for side-effects only.  This
294      function does not refresh the buffer.
295
296  -- Function: magit-git-wash washer &rest args
297
298      Execute Git with ARGS, inserting washed output at point.  Actually
299      first insert the raw output at point.  If there is no output call
300      ‘magit-cancel-section’.  Otherwise temporarily narrow the buffer to
301      the inserted text, move to its beginning, and then call function
302      WASHER with ARGS as its sole argument.
303
304    And now for the asynchronous variants.
305
306  -- Function: magit-run-git-async &rest args
307
308      Start Git, prepare for refresh, and return the process object.
309      ARGS is flattened and then used as arguments to Git.
310
311      Display the command line arguments in the echo area.
312
313      After Git returns some buffers are refreshed: the buffer that was
314      current when this function was called (if it is a Magit buffer and
315      still alive), as well as the respective Magit status buffer.
316      Unmodified buffers visiting files that are tracked in the current
317      repository are reverted if ‘magit-revert-buffers’ is non-nil.
318
319  -- Function: magit-run-git-with-editor &rest args
320
321      Export GIT_EDITOR and start Git.  Also prepare for refresh and
322      return the process object.  ARGS is flattened and then used as
323      arguments to Git.
324
325      Display the command line arguments in the echo area.
326
327      After Git returns some buffers are refreshed: the buffer that was
328      current when this function was called (if it is a Magit buffer and
329      still alive), as well as the respective Magit status buffer.
330
331  -- Function: magit-start-git &rest args
332
333      Start Git, prepare for refresh, and return the process object.
334
335      If INPUT is non-nil, it has to be a buffer or the name of an
336      existing buffer.  The buffer content becomes the processes standard
337      input.
338
339      Option ‘magit-git-executable’ specifies the Git executable and
340      option ‘magit-git-global-arguments’ specifies constant arguments.
341      The remaining arguments ARGS specify arguments to Git.  They are
342      flattened before use.
343
344      After Git returns, some buffers are refreshed: the buffer that was
345      current when this function was called (if it is a Magit buffer and
346      still alive), as well as the respective Magit status buffer.
347      Unmodified buffers visiting files that are tracked in the current
348      repository are reverted if ‘magit-revert-buffers’ is non-nil.
349
350  -- Function: magit-start-process &rest args
351
352      Start PROGRAM, prepare for refresh, and return the process object.
353
354      If optional argument INPUT is non-nil, it has to be a buffer or the
355      name of an existing buffer.  The buffer content becomes the
356      processes standard input.
357
358      The process is started using ‘start-file-process’ and then setup to
359      use the sentinel ‘magit-process-sentinel’ and the filter
360      ‘magit-process-filter’.  Information required by these functions is
361      stored in the process object.  When this function returns the
362      process has not started to run yet so it is possible to override
363      the sentinel and filter.
364
365      After the process returns, ‘magit-process-sentinel’ refreshes the
366      buffer that was current when ‘magit-start-process’ was called (if
367      it is a Magit buffer and still alive), as well as the respective
368      Magit status buffer.  Unmodified buffers visiting files that are
369      tracked in the current repository are reverted if
370      ‘magit-revert-buffers’ is non-nil.
371
372  -- Variable: magit-this-process
373
374      The child process which is about to start.  This can be used to
375      change the filter and sentinel.
376
377  -- Variable: magit-process-raise-error
378
379      When this is non-nil, then ‘magit-process-sentinel’ raises an error
380      if git exits with a non-zero exit status.  For debugging purposes.
381
382 
383 File: magit.info,  Node: Section Plumbing,  Next: Refreshing Buffers,  Prev: Calling Git,  Up: Plumbing
384
385 10.2 Section Plumbing
386 =====================
387
388 * Menu:
389
390 * Creating Sections::
391 * Section Selection::
392 * Matching Sections::
393
394 
395 File: magit.info,  Node: Creating Sections,  Next: Section Selection,  Up: Section Plumbing
396
397 10.2.1 Creating Sections
398 ------------------------
399
400  -- Macro: magit-insert-section &rest args
401
402      Insert a section at point.
403
404      TYPE is the section type, a symbol.  Many commands that act on the
405      current section behave differently depending on that type.  Also if
406      a variable ‘magit-TYPE-section-map’ exists, then use that as the
407      text-property ‘keymap’ of all text belonging to the section (but
408      this may be overwritten in subsections).  TYPE can also have the
409      form ‘(eval FORM)’ in which case FORM is evaluated at runtime.
410
411      Optional VALUE is the value of the section, usually a string that
412      is required when acting on the section.
413
414      When optional HIDE is non-nil collapse the section body by default,
415      i.e.  when first creating the section, but not when refreshing the
416      buffer.  Otherwise, expand it by default.  This can be overwritten
417      using ‘magit-section-set-visibility-hook’.  When a section is
418      recreated during a refresh, then the visibility of predecessor is
419      inherited and HIDE is ignored (but the hook is still honored).
420
421      BODY is any number of forms that actually insert the section’s
422      heading and body.  Optional NAME, if specified, has to be a symbol,
423      which is then bound to the struct of the section being inserted.
424
425      Before BODY is evaluated the ‘start’ of the section object is set
426      to the value of ‘point’ and after BODY was evaluated its ‘end’ is
427      set to the new value of ‘point’; BODY is responsible for moving
428      ‘point’ forward.
429
430      If it turns out inside BODY that the section is empty, then
431      ‘magit-cancel-section’ can be used to abort and remove all traces
432      of the partially inserted section.  This can happen when creating a
433      section by washing Git’s output and Git didn’t actually output
434      anything this time around.
435
436  -- Function: magit-insert-heading &rest args
437
438      Insert the heading for the section currently being inserted.
439
440      This function should only be used inside ‘magit-insert-section’.
441
442      When called without any arguments, then just set the ‘content’ slot
443      of the object representing the section being inserted to a marker
444      at ‘point’.  The section should only contain a single line when
445      this function is used like this.
446
447      When called with arguments ARGS, which have to be strings, then
448      insert those strings at point.  The section should not contain any
449      text before this happens and afterwards it should again only
450      contain a single line.  If the ‘face’ property is set anywhere
451      inside any of these strings, then insert all of them unchanged.
452      Otherwise use the ‘magit-section-heading’ face for all inserted
453      text.
454
455      The ‘content’ property of the section struct is the end of the
456      heading (which lasts from ‘start’ to ‘content’) and the beginning
457      of the body (which lasts from ‘content’ to ‘end’).  If the value of
458      ‘content’ is nil, then the section has no heading and its body
459      cannot be collapsed.  If a section does have a heading then its
460      height must be exactly one line, including a trailing newline
461      character.  This isn’t enforced; you are responsible for getting it
462      right.  The only exception is that this function does insert a
463      newline character if necessary.
464
465  -- Function: magit-cancel-section
466
467      Cancel the section currently being inserted.  This exits the
468      innermost call to ‘magit-insert-section’ and removes all traces of
469      what has already happened inside that call.
470
471  -- Function: magit-define-section-jumper sym title &optional value
472
473      Define an interactive function to go to section SYM.  TITLE is the
474      displayed title of the section.
475
476 
477 File: magit.info,  Node: Section Selection,  Next: Matching Sections,  Prev: Creating Sections,  Up: Section Plumbing
478
479 10.2.2 Section Selection
480 ------------------------
481
482  -- Function: magit-current-section
483
484      Return the section at point.
485
486  -- Function: magit-region-sections &optional condition multiple
487
488      Return a list of the selected sections.
489
490      When the region is active and constitutes a valid section
491      selection, then return a list of all selected sections.  This is
492      the case when the region begins in the heading of a section and
493      ends in the heading of the same section or in that of a sibling
494      section.  If optional MULTIPLE is non-nil, then the region cannot
495      begin and end in the same section.
496
497      When the selection is not valid, then return nil.  In this case,
498      most commands that can act on the selected sections will instead
499      act on the section at point.
500
501      When the region looks like it would in any other buffer then the
502      selection is invalid.  When the selection is valid then the region
503      uses the ‘magit-section-highlight’ face.  This does not apply to
504      diffs where things get a bit more complicated, but even here if the
505      region looks like it usually does, then that’s not a valid
506      selection as far as this function is concerned.
507
508      If optional CONDITION is non-nil, then the selection not only has
509      to be valid; all selected sections additionally have to match
510      CONDITION, or nil is returned.  See ‘magit-section-match’ for the
511      forms CONDITION can take.
512
513  -- Function: magit-region-values &optional condition multiple
514
515      Return a list of the values of the selected sections.
516
517      Return the values that themselves would be returned by
518      ‘magit-region-sections’ (which see).
519
520 
521 File: magit.info,  Node: Matching Sections,  Prev: Section Selection,  Up: Section Plumbing
522
523 10.2.3 Matching Sections
524 ------------------------
525
526 ‘M-x magit-describe-section-briefly’     (‘magit-describe-section-briefly’)
527
528      Show information about the section at point.  This command is
529      intended for debugging purposes.
530
531  -- Function: magit-section-ident section
532
533      Return an unique identifier for SECTION.  The return value has the
534      form ‘((TYPE . VALUE)...)’.
535
536  -- Function: magit-get-section ident &optional root
537
538      Return the section identified by IDENT.  IDENT has to be a list as
539      returned by ‘magit-section-ident’.
540
541  -- Function: magit-section-match condition &optional section
542
543      Return ‘t’ if SECTION matches CONDITION.  SECTION defaults to the
544      section at point.  If SECTION is not specified and there also is no
545      section at point, then return ‘nil’.
546
547      CONDITION can take the following forms:
548         • ‘(CONDITION...)’
549
550           matches if any of the CONDITIONs matches.
551
552         • ‘[CLASS...]’
553
554           matches if the section’s class is the same as the first CLASS
555           or a subclass of that; the section’s parent class matches the
556           second CLASS; and so on.
557
558         • ‘[* CLASS...]’
559
560           matches sections that match ‘[CLASS...]’ and also recursively
561           all their child sections.
562
563         • ‘CLASS’
564
565           matches if the section’s class is the same as CLASS or a
566           subclass of that; regardless of the classes of the parent
567           sections.
568
569      Each CLASS should be a class symbol, identifying a class that
570      derives from ‘magit-section’.  For backward compatibility CLASS can
571      also be a "type symbol".  A section matches such a symbol if the
572      value of its ‘type’ slot is ‘eq’.  If a type symbol has an entry in
573      ‘magit--section-type-alist’, then a section also matches that type
574      if its class is a subclass of the class that corresponds to the
575      type as per that alist.
576
577      Note that it is not necessary to specify the complete section
578      lineage as printed by ‘magit-describe-section-briefly’, unless of
579      course you want to be that precise.
580
581  -- Function: magit-section-value-if condition &optional section
582
583      If the section at point matches CONDITION, then return its value.
584
585      If optional SECTION is non-nil then test whether that matches
586      instead.  If there is no section at point and SECTION is nil, then
587      return nil.  If the section does not match, then return nil.
588
589      See ‘magit-section-match’ for the forms CONDITION can take.
590
591  -- Function: magit-section-case &rest clauses
592
593      Choose among clauses on the type of the section at point.
594
595      Each clause looks like (CONDITION BODY...).  The type of the
596      section is compared against each CONDITION; the BODY forms of the
597      first match are evaluated sequentially and the value of the last
598      form is returned.  Inside BODY the symbol ‘it’ is bound to the
599      section at point.  If no clause succeeds or if there is no section
600      at point return nil.
601
602      See ‘magit-section-match’ for the forms CONDITION can take.
603      Additionally a CONDITION of t is allowed in the final clause and
604      matches if no other CONDITION match, even if there is no section at
605      point.
606
607  -- Variable: magit-root-section
608
609      The root section in the current buffer.  All other sections are
610      descendants of this section.  The value of this variable is set by
611      ‘magit-insert-section’ and you should never modify it.
612
613    For diff related sections a few additional tools exist.
614
615  -- Function: magit-diff-type &optional section
616
617      Return the diff type of SECTION.
618
619      The returned type is one of the symbols ‘staged’, ‘unstaged’,
620      ‘committed’, or ‘undefined’.  This type serves a similar purpose as
621      the general type common to all sections (which is stored in the
622      ‘type’ slot of the corresponding ‘magit-section’ struct) but takes
623      additional information into account.  When the SECTION isn’t
624      related to diffs and the buffer containing it also isn’t a
625      diff-only buffer, then return nil.
626
627      Currently the type can also be one of ‘tracked’ and ‘untracked’,
628      but these values are not handled explicitly in every place they
629      should be.  A possible fix could be to just return nil here.
630
631      The section has to be a ‘diff’ or ‘hunk’ section, or a section
632      whose children are of type ‘diff’.  If optional SECTION is nil,
633      return the diff type for the current section.  In buffers whose
634      major mode is ‘magit-diff-mode’ SECTION is ignored and the type is
635      determined using other means.  In ‘magit-revision-mode’ buffers the
636      type is always ‘committed’.
637
638  -- Function: magit-diff-scope &optional section strict
639
640      Return the diff scope of SECTION or the selected section(s).
641
642      A diff’s "scope" describes what part of a diff is selected, it is a
643      symbol, one of ‘region’, ‘hunk’, ‘hunks’, ‘file’, ‘files’, or
644      ‘list’.  Do not confuse this with the diff "type", as returned by
645      ‘magit-diff-type’.
646
647      If optional SECTION is non-nil, then return the scope of that,
648      ignoring the sections selected by the region.  Otherwise return the
649      scope of the current section, or if the region is active and
650      selects a valid group of diff related sections, the type of these
651      sections, i.e.  ‘hunks’ or ‘files’.  If SECTION (or if the current
652      section that is nil) is a ‘hunk’ section and the region starts and
653      ends inside the body of a that section, then the type is ‘region’.
654
655      If optional STRICT is non-nil then return nil if the diff type of
656      the section at point is ‘untracked’ or the section at point is not
657      actually a ‘diff’ but a ‘diffstat’ section.
658
659 
660 File: magit.info,  Node: Refreshing Buffers,  Next: Conventions,  Prev: Section Plumbing,  Up: Plumbing
661
662 10.3 Refreshing Buffers
663 =======================
664
665 All commands that create a new Magit buffer or change what is being
666 displayed in an existing buffer do so by calling ‘magit-mode-setup’.
667 Among other things, that function sets the buffer local values of
668 ‘default-directory’ (to the top-level of the repository),
669 ‘magit-refresh-function’, and ‘magit-refresh-args’.
670
671    Buffers are refreshed by calling the function that is the local value
672 of ‘magit-refresh-function’ (a function named ‘magit-*-refresh-buffer’,
673 where ‘*’ may be something like ‘diff’) with the value of
674 ‘magit-refresh-args’ as arguments.
675
676  -- Macro: magit-mode-setup buffer switch-func mode refresh-func
677           &optional refresh-args
678
679      This function displays and selects BUFFER, turns on MODE, and
680      refreshes a first time.
681
682      This function displays and optionally selects BUFFER by calling
683      ‘magit-mode-display-buffer’ with BUFFER, MODE and SWITCH-FUNC as
684      arguments.  Then it sets the local value of
685      ‘magit-refresh-function’ to REFRESH-FUNC and that of
686      ‘magit-refresh-args’ to REFRESH-ARGS.  Finally it creates the
687      buffer content by calling REFRESH-FUNC with REFRESH-ARGS as
688      arguments.
689
690      All arguments are evaluated before switching to BUFFER.
691
692  -- Function: magit-mode-display-buffer buffer mode &optional
693           switch-function
694
695      This function display BUFFER in some window and select it.  BUFFER
696      may be a buffer or a string, the name of a buffer.  The buffer is
697      returned.
698
699      Unless BUFFER is already displayed in the selected frame, store the
700      previous window configuration as a buffer local value, so that it
701      can later be restored by ‘magit-mode-bury-buffer’.
702
703      The buffer is displayed and selected using SWITCH-FUNCTION.  If
704      that is ‘nil’ then ‘pop-to-buffer’ is used if the current buffer’s
705      major mode derives from ‘magit-mode’.  Otherwise ‘switch-to-buffer’
706      is used.
707
708  -- Variable: magit-refresh-function
709
710      The value of this buffer-local variable is the function used to
711      refresh the current buffer.  It is called with ‘magit-refresh-args’
712      as arguments.
713
714  -- Variable: magit-refresh-args
715
716      The list of arguments used by ‘magit-refresh-function’ to refresh
717      the current buffer.  ‘magit-refresh-function’ is called with these
718      arguments.
719
720      The value is usually set using ‘magit-mode-setup’, but in some
721      cases it’s also useful to provide commands which can change the
722      value.  For example, the ‘magit-diff-refresh-popup’ can be used to
723      change any of the arguments used to display the diff, without
724      having to specify again which differences should be shown.
725      ‘magit-diff-more-context’, ‘magit-diff-less-context’, and
726      ‘magit-diff-default-context’ change just the ‘-U<N>’ argument.  In
727      both case this is done by changing the value of this variable and
728      then calling this ‘magit-refresh-function’.
729
730 
731 File: magit.info,  Node: Conventions,  Prev: Refreshing Buffers,  Up: Plumbing
732
733 10.4 Conventions
734 ================
735
736 Also see *note Completion and Confirmation::.
737
738 * Menu:
739
740 * Theming Faces::
741
742 
743 File: magit.info,  Node: Theming Faces,  Up: Conventions
744
745 10.4.1 Theming Faces
746 --------------------
747
748 The default theme uses blue for local branches, green for remote
749 branches, and goldenrod (brownish yellow) for tags.  When creating a new
750 theme, you should probably follow that example.  If your theme already
751 uses other colors, then stick to that.
752
753    In older releases these reference faces used to have a background
754 color and a box around them.  The basic default faces no longer do so,
755 to make Magit buffers much less noisy, and you should follow that
756 example at least with regards to boxes.  (Boxes were used in the past to
757 work around a conflict between the highlighting overlay and text
758 property backgrounds.  That’s no longer necessary because highlighting
759 no longer causes other background colors to disappear.)  Alternatively
760 you can keep the background color and/or box, but then have to take
761 special care to adjust ‘magit-branch-current’ accordingly.  By default
762 it looks mostly like ‘magit-branch-local’, but with a box (by default
763 the former is the only face that uses a box, exactly so that it sticks
764 out).  If the former also uses a box, then you have to make sure that it
765 differs in some other way from the latter.
766
767    The most difficult faces to theme are those related to diffs,
768 headings, highlighting, and the region.  There are faces that fall into
769 all four groups - expect to spend some time getting this right.
770
771    The ‘region’ face in the default theme, in both the light and dark
772 variants, as well as in many other themes, distributed with Emacs or by
773 third-parties, is very ugly.  It is common to use a background color
774 that really sticks out, which is ugly but if that were the only problem
775 then it would be acceptable.  Unfortunately many themes also set the
776 foreground color, which ensures that all text within the region is
777 readable.  Without doing that there might be cases where some foreground
778 color is too close to the region background color to still be readable.
779 But it also means that text within the region loses all syntax
780 highlighting.
781
782    I consider the work that went into getting the ‘region’ face right to
783 be a good indicator for the general quality of a theme.  My
784 recommendation for the ‘region’ face is this: use a background color
785 slightly different from the background color of the ‘default’ face, and
786 do not set the foreground color at all.  So for a light theme you might
787 use a light (possibly tinted) gray as the background color of ‘default’
788 and a somewhat darker gray for the background of ‘region’.  That should
789 usually be enough to not collide with the foreground color of any other
790 face.  But if some other faces also set a light gray as background
791 color, then you should also make sure it doesn’t collide with those (in
792 some cases it might be acceptable though).
793
794    Magit only uses the ‘region’ face when the region is "invalid" by its
795 own definition.  In a Magit buffer the region is used to either select
796 multiple sibling sections, so that commands which support it act on all
797 of these sections instead of just the current section, or to select
798 lines within a single hunk section.  In all other cases, the section is
799 considered invalid and Magit won’t act on it.  But such invalid sections
800 happen, either because the user has not moved point enough yet to make
801 it valid or because she wants to use a non-magit command to act on the
802 region, e.g.  ‘kill-region’.
803
804    So using the regular ‘region’ face for invalid sections is a feature.
805 It tells the user that Magit won’t be able to act on it.  It’s
806 acceptable if that face looks a bit odd and even (but less so) if it
807 collides with the background colors of section headings and other things
808 that have a background color.
809
810    Magit highlights the current section.  If a section has subsections,
811 then all of them are highlighted.  This is done using faces that have
812 "highlight" in their names.  For most sections,
813 ‘magit-section-highlight’ is used for both the body and the heading.
814 Like the ‘region’ face, it should only set the background color to
815 something similar to that of ‘default’.  The highlight background color
816 must be different from both the ‘region’ background color and the
817 ‘default’ background color.
818
819    For diff related sections Magit uses various faces to highlight
820 different parts of the selected section(s).  Note that hunk headings,
821 unlike all other section headings, by default have a background color,
822 because it is useful to have very visible separators between hunks.
823 That face ‘magit-diff-hunk-heading’, should be different from both
824 ‘magit-diff-hunk-heading-highlight’ and ‘magit-section-highlight’, as
825 well as from ‘magit-diff-context’ and ‘magit-diff-context-highlight’.
826 By default we do that by changing the foreground color.  Changing the
827 background color would lead to complications, and there are already
828 enough we cannot get around.  (Also note that it is generally a good
829 idea for section headings to always be bold, but only for sections that
830 have subsections).
831
832    When there is a valid region selecting diff-related sibling sections,
833 i.e.  multiple files or hunks, then the bodies of all these sections use
834 the respective highlight faces, but additionally the headings instead
835 use one of the faces ‘magit-diff-file-heading-selection’ or
836 ‘magit-diff-hunk-heading-selection’.  These faces have to be different
837 from the regular highlight variants to provide explicit visual
838 indication that the region is active.
839
840    When theming diff related faces, start by setting the option
841 ‘magit-diff-refine-hunk’ to ‘all’.  You might personally prefer to only
842 refine the current hunk or not use hunk refinement at all, but some of
843 the users of your theme want all hunks to be refined, so you have to
844 cater to that.
845
846    (Also turn on ‘magit-diff-highlight-indentation’,
847 ‘magit-diff-highlight-trailing’, and ‘magit-diff-paint-whitespace’; and
848 insert some whitespace errors into the code you use for testing.)
849
850    For e.g.  "added lines" you have to adjust three faces:
851 ‘magit-diff-added’, ‘magit-diff-added-highlight’, and
852 ‘smerge-refined-added’.  Make sure that the latter works well with both
853 of the former, as well as ‘smerge-other’ and ‘diff-added’.  Then do the
854 same for the removed lines, context lines, lines added by us, and lines
855 added by them.  Also make sure the respective added, removed, and
856 context faces use approximately the same saturation for both the
857 highlighted and unhighlighted variants.  Also make sure the file and
858 diff headings work nicely with context lines (e.g.  make them look
859 different).  Line faces should set both the foreground and the
860 background color.  For example, for added lines use two different
861 greens.
862
863    It’s best if the foreground color of both the highlighted and the
864 unhighlighted variants are the same, so you will need to have to find a
865 color that works well on the highlight and unhighlighted background, the
866 refine background, and the highlight context background.  When there is
867 an hunk internal region, then the added- and removed-lines background
868 color is used only within that region.  Outside the region the
869 highlighted context background color is used.  This makes it easier to
870 see what is being staged.  With an hunk internal region the hunk heading
871 is shown using ‘magit-diff-hunk-heading-selection’, and so are the thin
872 lines that are added around the lines that fall within the region.  The
873 background color of that has to be distinct enough from the various
874 other involved background colors.
875
876    Nobody said this would be easy.  If your theme restricts itself to a
877 certain set of colors, then you should make an exception here.
878 Otherwise it would be impossible to make the diffs look good in each and
879 every variation.  Actually you might want to just stick to the default
880 definitions for these faces.  You have been warned.  Also please note
881 that if you do not get this right, this will in some cases look to users
882 like bugs in Magit - so please do it right or not at all.
883
884 
885 File: magit.info,  Node: FAQ,  Next: Debugging Tools,  Prev: Plumbing,  Up: Top
886
887 Appendix A FAQ
888 **************
889
890 The next two nodes lists frequently asked questions.  For a list of
891 frequently *and recently* asked questions, i.e.  questions that haven’t
892 made it into the manual yet, see
893 <https://github.com/magit/magit/wiki/FAQ>.
894
895    Please also use the *note Debugging Tools::.
896
897 * Menu:
898
899 * FAQ - How to ...?::
900 * FAQ - Issues and Errors::
901
902 
903 File: magit.info,  Node: FAQ - How to ...?,  Next: FAQ - Issues and Errors,  Up: FAQ
904
905 A.1 FAQ - How to ...?
906 =====================
907
908 * Menu:
909
910 * How to show git's output?::
911 * How to install the gitman info manual?::
912 * How to show diffs for gpg-encrypted files?::
913 * How does branching and pushing work?::
914 * Can Magit be used as ediff-version-control-package?::
915
916 
917 File: magit.info,  Node: How to show git's output?,  Next: How to install the gitman info manual?,  Up: FAQ - How to ...?
918
919 A.1.1 How to show git’s output?
920 -------------------------------
921
922 To show the output of recently run git commands, press ‘$’ (or, if that
923 isn’t available, ‘M-x magit-process-buffer’).  This will show a buffer
924 containing a section per git invocation; as always press ‘TAB’ to expand
925 or collapse them.
926
927    By default, git’s output is only inserted into the process buffer if
928 it is run for side-effects.  When the output is consumed in some way,
929 also inserting it into the process buffer would be too expensive.  For
930 debugging purposes, it’s possible to do so anyway by setting
931 ‘magit-git-debug’ to ‘t’.
932
933 
934 File: magit.info,  Node: How to install the gitman info manual?,  Next: How to show diffs for gpg-encrypted files?,  Prev: How to show git's output?,  Up: FAQ - How to ...?
935
936 A.1.2 How to install the gitman info manual?
937 --------------------------------------------
938
939 Git’s manpages can be exported as an info manual called ‘gitman’.
940 Magit’s own info manual links to nodes in that manual instead of the
941 actual manpages because Info doesn’t support linking to manpages.
942
943    Unfortunately some distributions do not install the ‘gitman’ manual
944 by default and you will have to install a separate documentation package
945 to get it.
946
947    Magit patches Info adding the ability to visit links to the ‘gitman’
948 Info manual by instead viewing the respective manpage.  If you prefer
949 that approach, then set the value of ‘magit-view-git-manual-method’ to
950 one of the supported packages ‘man’ or ‘woman’, e.g.:
951
952      (setq magit-view-git-manual-method 'man)
953
954 
955 File: magit.info,  Node: How to show diffs for gpg-encrypted files?,  Next: How does branching and pushing work?,  Prev: How to install the gitman info manual?,  Up: FAQ - How to ...?
956
957 A.1.3 How to show diffs for gpg-encrypted files?
958 ------------------------------------------------
959
960 Git supports showing diffs for encrypted files, but has to be told to do
961 so.  Since Magit just uses Git to get the diffs, configuring Git also
962 affects the diffs displayed inside Magit.
963
964      git config --global diff.gpg.textconv "gpg --no-tty --decrypt"
965      echo "*.gpg filter=gpg diff=gpg" > .gitattributes
966
967 
968 File: magit.info,  Node: How does branching and pushing work?,  Next: Can Magit be used as ediff-version-control-package?,  Prev: How to show diffs for gpg-encrypted files?,  Up: FAQ - How to ...?
969
970 A.1.4 How does branching and pushing work?
971 ------------------------------------------
972
973 Please see *note Branching:: and
974 <http://emacsair.me/2016/01/17/magit-2.4>
975
976 
977 File: magit.info,  Node: Can Magit be used as ediff-version-control-package?,  Prev: How does branching and pushing work?,  Up: FAQ - How to ...?
978
979 A.1.5 Can Magit be used as ‘ediff-version-control-package’?
980 -----------------------------------------------------------
981
982 No, it cannot.  For that to work the functions ‘ediff-magit-internal’
983 and ‘ediff-magit-merge-internal’ would have to be implemented, and they
984 are not.  These two functions are only used by the three commands
985 ‘ediff-revision’, ‘ediff-merge-revisions-with-ancestor’, and
986 ‘ediff-merge-revisions’.
987
988    These commands only delegate the task of populating buffers with
989 certain revisions to the "internal" functions.  The equally important
990 task of determining which revisions are to be compared/merged is not
991 delegated.  Instead this is done without any support whatsoever from the
992 version control package/system - meaning that the user has to enter the
993 revisions explicitly.  Instead of implementing ‘ediff-magit-internal’ we
994 provide ‘magit-ediff-compare’, which handles both tasks like it is 2005.
995
996    The other commands ‘ediff-merge-revisions’ and
997 ‘ediff-merge-revisions-with-ancestor’ are normally not what you want
998 when using a modern version control system like Git.  Instead of letting
999 the user resolve only those conflicts which Git could not resolve on its
1000 own, they throw away all work done by Git and then expect the user to
1001 manually merge all conflicts, including those that had already been
1002 resolved.  That made sense back in the days when version control systems
1003 couldn’t merge (or so I have been told), but not anymore.  Once in a
1004 blue moon you might actually want to see all conflicts, in which case
1005 you *can* use these commands, which then use ‘ediff-vc-merge-internal’.
1006 So we don’t actually have to implement ‘ediff-magit-merge-internal’.
1007 Instead we provide the more useful command ‘magit-ediff-resolve’ which
1008 only shows yet-to-be resolved conflicts.
1009
1010 
1011 File: magit.info,  Node: FAQ - Issues and Errors,  Prev: FAQ - How to ...?,  Up: FAQ
1012
1013 A.2 FAQ - Issues and Errors
1014 ===========================
1015
1016 * Menu:
1017
1018 * Magit is slow::
1019 * I changed several thousand files at once and now Magit is unusable::
1020 * I am having problems committing::
1021 * I am using MS Windows and cannot push with Magit::
1022 * I am using OS X and SOMETHING works in shell, but not in Magit: I am using OS X and SOMETHING works in shell but not in Magit.
1023 * Diffs contain control sequences::
1024 * Expanding a file to show the diff causes it to disappear::
1025 * Point is wrong in the COMMIT_EDITMSG buffer::
1026 * The mode-line information isn't always up-to-date::
1027 * A branch and tag sharing the same name breaks SOMETHING::
1028 * My Git hooks work on the command-line but not inside Magit::
1029 * git-commit-mode isn't used when committing from the command-line::
1030 * Point ends up inside invisible text when jumping to a file-visiting buffer::
1031
1032 
1033 File: magit.info,  Node: Magit is slow,  Next: I changed several thousand files at once and now Magit is unusable,  Up: FAQ - Issues and Errors
1034
1035 A.2.1 Magit is slow
1036 -------------------
1037
1038 See *note Performance::.
1039
1040 
1041 File: magit.info,  Node: I changed several thousand files at once and now Magit is unusable,  Next: I am having problems committing,  Prev: Magit is slow,  Up: FAQ - Issues and Errors
1042
1043 A.2.2 I changed several thousand files at once and now Magit is unusable
1044 ------------------------------------------------------------------------
1045
1046 Magit is *currently* not expected to work under such conditions.  It
1047 sure would be nice if it did, and v2.5 will hopefully be a big step into
1048 that direction.  But it might take until v3.1 to accomplish fully
1049 satisfactory performance, because that requires some heavy refactoring.
1050
1051    But for now we recommend you use the command line to complete this
1052 one commit.  Also see *note Performance::.
1053
1054 
1055 File: magit.info,  Node: I am having problems committing,  Next: I am using MS Windows and cannot push with Magit,  Prev: I changed several thousand files at once and now Magit is unusable,  Up: FAQ - Issues and Errors
1056
1057 A.2.3 I am having problems committing
1058 -------------------------------------
1059
1060 That likely means that Magit is having problems finding an appropriate
1061 emacsclient executable.  See *note (with-editor)Configuring
1062 With-Editor:: and *note (with-editor)Debugging::.
1063
1064 
1065 File: magit.info,  Node: I am using MS Windows and cannot push with Magit,  Next: I am using OS X and SOMETHING works in shell but not in Magit,  Prev: I am having problems committing,  Up: FAQ - Issues and Errors
1066
1067 A.2.4 I am using MS Windows and cannot push with Magit
1068 ------------------------------------------------------
1069
1070 It’s almost certain that Magit is only incidental to this issue.  It is
1071 much more likely that this is a configuration issue, even if you can
1072 push on the command line.
1073
1074    Detailed setup instructions can be found at
1075 <https://github.com/magit/magit/wiki/Pushing-with-Magit-from-Windows>.
1076
1077 
1078 File: magit.info,  Node: I am using OS X and SOMETHING works in shell but not in Magit,  Next: Diffs contain control sequences,  Prev: I am using MS Windows and cannot push with Magit,  Up: FAQ - Issues and Errors
1079
1080 A.2.5 I am using OS X and SOMETHING works in shell, but not in Magit
1081 --------------------------------------------------------------------
1082
1083 This usually occurs because Emacs doesn’t have the same environment
1084 variables as your shell.  Try installing and configuring
1085 <https://github.com/purcell/exec-path-from-shell>.  By default it
1086 synchronizes ‘$PATH’, which helps Magit find the same ‘git’ as the one
1087 you are using on the shell.
1088
1089    If SOMETHING is "passphrase caching with gpg-agent for commit and/or
1090 tag signing", then you’ll also need to synchronize ‘$GPG_AGENT_INFO’.
1091
1092 
1093 File: magit.info,  Node: Diffs contain control sequences,  Next: Expanding a file to show the diff causes it to disappear,  Prev: I am using OS X and SOMETHING works in shell but not in Magit,  Up: FAQ - Issues and Errors
1094
1095 A.2.6 Diffs contain control sequences
1096 -------------------------------------
1097
1098 This happens when you configure Git to always color diffs and/or all of
1099 its output.  The valid values for relevant Git variables ‘color.ui’ and
1100 ‘color.diff’ are ‘false’, ‘true’ and ‘always’, and the default is
1101 ‘true’.  You should leave it that way because then you get colorful
1102 output in terminals by default but when git’s output is consumed by
1103 something else, then no color control sequences are used.
1104
1105    If you actually use some other tool that requires setting ‘color.ui’
1106 and/or ‘color.diff’ to ‘always’ (which is highly unlikely), then you can
1107 override these settings just for Magit by using:
1108
1109      (setq magit-git-global-arguments
1110            (nconc magit-git-global-arguments
1111                   '("-c" "color.ui=false"
1112                     "-c" "color.diff=false")))
1113
1114 
1115 File: magit.info,  Node: Expanding a file to show the diff causes it to disappear,  Next: Point is wrong in the COMMIT_EDITMSG buffer,  Prev: Diffs contain control sequences,  Up: FAQ - Issues and Errors
1116
1117 A.2.7 Expanding a file to show the diff causes it to disappear
1118 --------------------------------------------------------------
1119
1120 This is probably caused by a change of a ‘diff.*’ Git variable.  You
1121 probably set that variable for a reason, and should therefore only undo
1122 that setting in Magit by customizing ‘magit-git-global-arguments’.
1123
1124 
1125 File: magit.info,  Node: Point is wrong in the COMMIT_EDITMSG buffer,  Next: The mode-line information isn't always up-to-date,  Prev: Expanding a file to show the diff causes it to disappear,  Up: FAQ - Issues and Errors
1126
1127 A.2.8 Point is wrong in the ‘COMMIT_EDITMSG’ buffer
1128 ---------------------------------------------------
1129
1130 Neither Magit nor ‘git-commit‘ fiddle with point in the buffer used to
1131 write commit messages, so something else must be doing it.
1132
1133    You have probably globally enabled a mode which does restore point in
1134 file-visiting buffers.  It might be a bit surprising, but when you write
1135 a commit message, then you are actually editing a file.
1136
1137    So you have to figure out which package is doing.  ‘saveplace’,
1138 ‘pointback’, and ‘session’ are likely candidates.  These snippets might
1139 help:
1140
1141      (setq session-name-disable-regexp "\\(?:\\`'\\.git/[A-Z_]+\\'\\)")
1142
1143      (with-eval-after-load 'pointback
1144        (lambda ()
1145          (when (or git-commit-mode git-rebase-mode)
1146            (pointback-mode -1))))
1147
1148 
1149 File: magit.info,  Node: The mode-line information isn't always up-to-date,  Next: A branch and tag sharing the same name breaks SOMETHING,  Prev: Point is wrong in the COMMIT_EDITMSG buffer,  Up: FAQ - Issues and Errors
1150
1151 A.2.9 The mode-line information isn’t always up-to-date
1152 -------------------------------------------------------
1153
1154 Magit is not responsible for the version control information that is
1155 being displayed in the mode-line and looks something like ‘Git-master’.
1156 The built-in "Version Control" package, also known as "VC", updates that
1157 information, and can be told to do so more often:
1158
1159      (setq auto-revert-check-vc-info t)
1160
1161    But doing so isn’t good for performance.  For more (overly
1162 optimistic) information see *note (emacs)VC Mode Line::.
1163
1164    If you don’t really care about seeing that information in the
1165 mode-line, but just don’t want to see _incorrect_ information, then
1166 consider disabling VC when using Git:
1167
1168      (setq vc-handled-backends (delq 'Git vc-handled-backends))
1169
1170    Or to disable it completely:
1171
1172      (setq vc-handled-backends nil)
1173
1174 
1175 File: magit.info,  Node: A branch and tag sharing the same name breaks SOMETHING,  Next: My Git hooks work on the command-line but not inside Magit,  Prev: The mode-line information isn't always up-to-date,  Up: FAQ - Issues and Errors
1176
1177 A.2.10 A branch and tag sharing the same name breaks SOMETHING
1178 --------------------------------------------------------------
1179
1180 Or more generally, ambiguous refnames break SOMETHING.
1181
1182    Magit assumes that refs are named non-ambiguously across the
1183 "refs/heads/", "refs/tags/", and "refs/remotes/" namespaces (i.e., all
1184 the names remain unique when those prefixes are stripped).  We consider
1185 ambiguous refnames unsupported and recommend that you use a
1186 non-ambiguous naming scheme.  However, if you do work with a repository
1187 that has ambiguous refnames, please report any issues you encounter so
1188 that we can investigate whether there is a simple fix.
1189
1190 
1191 File: magit.info,  Node: My Git hooks work on the command-line but not inside Magit,  Next: git-commit-mode isn't used when committing from the command-line,  Prev: A branch and tag sharing the same name breaks SOMETHING,  Up: FAQ - Issues and Errors
1192
1193 A.2.11 My Git hooks work on the command-line but not inside Magit
1194 -----------------------------------------------------------------
1195
1196 When Magit calls ‘git’ it adds a few global arguments including
1197 ‘--literal-pathspecs’ and the ‘git’ process started by Magit then passes
1198 that setting on to other ‘git’ process it starts itself.  It does so by
1199 setting the environment variable ‘GIT_LITERAL_PATHSPECS’, not by calling
1200 subprocesses with the ‘--literal-pathspecs’.  You can therefore override
1201 this setting in hook scripts using ‘unset GIT_LITERAL_PATHSPECS’.
1202
1203 
1204 File: magit.info,  Node: git-commit-mode isn't used when committing from the command-line,  Next: Point ends up inside invisible text when jumping to a file-visiting buffer,  Prev: My Git hooks work on the command-line but not inside Magit,  Up: FAQ - Issues and Errors
1205
1206 A.2.12 ‘git-commit-mode’ isn’t used when committing from the command-line
1207 -------------------------------------------------------------------------
1208
1209 The reason for this is that ‘git-commit.el’ has not been loaded yet
1210 and/or that the server has not been started yet.  These things have
1211 always already been taken care of when you commit from Magit because in
1212 order to do so, Magit has to be loaded and doing that involves loading
1213 ‘git-commit’ and starting the server.
1214
1215    If you want to commit from the command-line, then you have to take
1216 care of these things yourself.  Your ‘init.el’ file should contain:
1217
1218      (require 'git-commit)
1219      (server-mode)
1220
1221    Instead of ‘(require ’git-commit)‘ you may also use:
1222
1223      (load "/path/to/magit-autoloads.el")
1224
1225    You might want to do that because loading ‘git-commit’ causes large
1226 parts of Magit to be loaded.
1227
1228    There are also some variations of ‘(server-mode)’ that you might want
1229 to try.  Personally I use:
1230
1231      (use-package server
1232        :config (or (server-running-p) (server-mode)))
1233
1234    Now you can use:
1235
1236      $ emacs&
1237      $ EDITOR=emacsclient git commit
1238
1239    However you cannot use:
1240
1241      $ killall emacs
1242      $ EDITOR="emacsclient --alternate-editor emacs" git commit
1243
1244    This will actually end up using ‘emacs’, not ‘emacsclient’.  If you
1245 do this, then can still edit the commit message but ‘git-commit-mode’
1246 won’t be used and you have to exit ‘emacs’ to finish the process.
1247
1248    Tautology ahead.  If you want to be able to use ‘emacsclient’ to
1249 connect to a running ‘emacs’ instance, even though no ‘emacs’ instance
1250 is running, then you cannot use ‘emacsclient’ directly.
1251
1252    Instead you have to create a script that does something like this:
1253
1254    Try to use ‘emacsclient’ (without using ‘--alternate-editor’).  If
1255 that succeeds, do nothing else.  Otherwise start ‘emacs &’ (and
1256 ‘init.el’ must call ‘server-start’) and try to use ‘emacsclient’ again.
1257
1258 
1259 File: magit.info,  Node: Point ends up inside invisible text when jumping to a file-visiting buffer,  Prev: git-commit-mode isn't used when committing from the command-line,  Up: FAQ - Issues and Errors
1260
1261 A.2.13 Point ends up inside invisible text when jumping to a file-visiting buffer
1262 ---------------------------------------------------------------------------------
1263
1264 This can happen when you type ‘RET’ on a hunk to visit the respective
1265 file at the respective position.  One solution to this problem is to use
1266 ‘global-reveal-mode’.  It makes sure that text around point is always
1267 visible.  If that is too drastic for your taste, then you may instead
1268 use ‘magit-diff-visit-file-hook’ to reveal the text, possibly using
1269 ‘reveal-post-command’ or for Org buffers ‘org-reveal’.
1270
1271 
1272 File: magit.info,  Node: Debugging Tools,  Next: Keystroke Index,  Prev: FAQ,  Up: Top
1273
1274 B Debugging Tools
1275 *****************
1276
1277 Magit and its dependencies provide a few debugging tools, and we
1278 appreciate it very much if you use those tools before reporting an
1279 issue.  Please include all relevant output when reporting an issue.
1280
1281 ‘M-x magit-version’     (‘magit-version’)
1282
1283      This command shows the currently used versions of Magit, Git, and
1284      Emacs in the echo area.  Non-interactively this just returns the
1285      Magit version.
1286
1287 ‘M-x magit-emacs-Q-command’     (‘magit-emacs-Q-command’)
1288
1289      This command shows a debugging shell command in the echo area and
1290      adds it to the kill ring.  Paste that command into a shell and run
1291      it.
1292
1293      This shell command starts ‘emacs’ with only ‘magit’ and its
1294      dependencies loaded.  Neither your configuration nor other
1295      installed packages are loaded.  This makes it easier to determine
1296      whether some issue lays with Magit or something else.
1297
1298      If you run Magit from its Git repository, then you should be able
1299      to use ‘make emacs-Q’ instead of the output of this command.
1300
1301 ‘M-x magit-debug-git-executable’     (‘magit-debug-git-executable’)
1302
1303      This command displays a buffer containing information about the
1304      available and used ‘git’ executable(s), and can be useful when
1305      investigating ‘exec-path’ issues.
1306
1307      Also see *note Git Executable::.
1308
1309 ‘M-x with-editor-debug’     (‘with-editor-debug’)
1310
1311      This command displays a buffer containing information about the
1312      available and used ‘~emacsclient’ executable(s), and can be useful
1313      when investigating why Magit (or rather ‘with-editor’) cannot find
1314      an appropriate ‘emacsclient’ executable.
1315
1316      Also see *note (with-editor)Debugging::.
1317
1318    Please also see the *note FAQ::.
1319
1320 
1321 File: magit.info,  Node: Keystroke Index,  Next: Command Index,  Prev: Debugging Tools,  Up: Top
1322
1323 Appendix C Keystroke Index
1324 **************************
1325
1326 [index]
1327 * Menu:
1328
1329 * !:                                     Running Git Manually.
1330                                                               (line  12)
1331 * ! !:                                   Running Git Manually.
1332                                                               (line  16)
1333 * ! a:                                   Running Git Manually.
1334                                                               (line  57)
1335 * ! b:                                   Running Git Manually.
1336                                                               (line  61)
1337 * ! g:                                   Running Git Manually.
1338                                                               (line  65)
1339 * ! k:                                   Running Git Manually.
1340                                                               (line  53)
1341 * ! p:                                   Running Git Manually.
1342                                                               (line  24)
1343 * ! s:                                   Running Git Manually.
1344                                                               (line  34)
1345 * ! S:                                   Running Git Manually.
1346                                                               (line  39)
1347 * $:                                     Viewing Git Output.  (line  16)
1348 * %:                                     Worktree.            (line   8)
1349 * % b:                                   Worktree.            (line  13)
1350 * % c:                                   Worktree.            (line  17)
1351 * % g:                                   Worktree.            (line  33)
1352 * % k:                                   Worktree.            (line  28)
1353 * % p:                                   Worktree.            (line  21)
1354 * +:                                     Log Buffer.          (line  59)
1355 * + <1>:                                 Refreshing Diffs.    (line  68)
1356 * -:                                     Log Buffer.          (line  63)
1357 * - <1>:                                 Refreshing Diffs.    (line  64)
1358 * 0:                                     Refreshing Diffs.    (line  72)
1359 * 1:                                     Section Visibility.  (line  26)
1360 * 2:                                     Section Visibility.  (line  27)
1361 * 3:                                     Section Visibility.  (line  28)
1362 * 4:                                     Section Visibility.  (line  29)
1363 * =:                                     Log Buffer.          (line  53)
1364 * ^:                                     Section Movement.    (line  31)
1365 * a:                                     Applying.            (line  33)
1366 * A:                                     Cherry Picking.      (line   8)
1367 * A A:                                   Cherry Picking.      (line  16)
1368 * A a:                                   Cherry Picking.      (line  23)
1369 * A A <1>:                               Cherry Picking.      (line  89)
1370 * A a <1>:                               Cherry Picking.      (line  97)
1371 * A d:                                   Cherry Picking.      (line  53)
1372 * A h:                                   Cherry Picking.      (line  41)
1373 * A n:                                   Cherry Picking.      (line  64)
1374 * A s:                                   Cherry Picking.      (line  75)
1375 * A s <1>:                               Cherry Picking.      (line  93)
1376 * B:                                     Bisecting.           (line   8)
1377 * b:                                     Blaming.             (line  86)
1378 * b <1>:                                 The Branch Popup.    (line  12)
1379 * B B:                                   Bisecting.           (line  16)
1380 * B b:                                   Bisecting.           (line  31)
1381 * b b:                                   The Branch Popup.    (line  37)
1382 * b C:                                   The Branch Popup.    (line  29)
1383 * b c:                                   The Branch Popup.    (line  55)
1384 * B g:                                   Bisecting.           (line  36)
1385 * B k:                                   Bisecting.           (line  41)
1386 * b k:                                   The Branch Popup.    (line 240)
1387 * b l:                                   The Branch Popup.    (line  62)
1388 * b n:                                   The Branch Popup.    (line  45)
1389 * B r:                                   Bisecting.           (line  47)
1390 * b r:                                   The Branch Popup.    (line 246)
1391 * B s:                                   Bisecting.           (line  24)
1392 * b s:                                   The Branch Popup.    (line  85)
1393 * b x:                                   The Branch Popup.    (line 224)
1394 * b Y:                                   The Branch Popup.    (line 113)
1395 * b y:                                   The Branch Popup.    (line 218)
1396 * c:                                     Blaming.             (line 120)
1397 * c <1>:                                 Initiating a Commit. (line   8)
1398 * c <2>:                                 Editing Rebase Sequences.
1399                                                               (line  72)
1400 * c a:                                   Initiating a Commit. (line  18)
1401 * c A:                                   Initiating a Commit. (line  66)
1402 * c c:                                   Initiating a Commit. (line  13)
1403 * c e:                                   Initiating a Commit. (line  22)
1404 * c f:                                   Initiating a Commit. (line  42)
1405 * c F:                                   Initiating a Commit. (line  50)
1406 * c s:                                   Initiating a Commit. (line  54)
1407 * c S:                                   Initiating a Commit. (line  62)
1408 * c w:                                   Initiating a Commit. (line  32)
1409 * C-<return>:                            Diff Buffer.         (line  48)
1410 * C-<tab>:                               Section Visibility.  (line  13)
1411 * C-c C-a:                               Editing Commit Messages.
1412                                                               (line 128)
1413 * C-c C-b:                               Log Buffer.          (line  19)
1414 * C-c C-b <1>:                           Refreshing Diffs.    (line  90)
1415 * C-c C-c:                               Popup Buffers and Prefix Commands.
1416                                                               (line  20)
1417 * C-c C-c <1>:                           Select from Log.     (line  20)
1418 * C-c C-c <2>:                           Editing Commit Messages.
1419                                                               (line  19)
1420 * C-c C-c <3>:                           Editing Rebase Sequences.
1421                                                               (line   6)
1422 * C-c C-d:                               Refreshing Diffs.    (line  80)
1423 * C-c C-d <1>:                           Editing Commit Messages.
1424                                                               (line  57)
1425 * C-c C-e:                               Diff Buffer.         (line  80)
1426 * C-c C-f:                               Log Buffer.          (line  23)
1427 * C-c C-f <1>:                           Refreshing Diffs.    (line  94)
1428 * C-c C-i:                               Editing Commit Messages.
1429                                                               (line 153)
1430 * C-c C-k:                               Select from Log.     (line  26)
1431 * C-c C-k <1>:                           Editing Commit Messages.
1432                                                               (line  24)
1433 * C-c C-k <2>:                           Editing Rebase Sequences.
1434                                                               (line  11)
1435 * C-c C-n:                               Log Buffer.          (line  27)
1436 * C-c C-o:                               Editing Commit Messages.
1437                                                               (line 144)
1438 * C-c C-p:                               Editing Commit Messages.
1439                                                               (line 148)
1440 * C-c C-r:                               Editing Commit Messages.
1441                                                               (line 132)
1442 * C-c C-s:                               Editing Commit Messages.
1443                                                               (line 136)
1444 * C-c C-t:                               Diff Buffer.         (line  70)
1445 * C-c C-t <1>:                           Editing Commit Messages.
1446                                                               (line 140)
1447 * C-c C-w:                               Editing Commit Messages.
1448                                                               (line  63)
1449 * C-c M-g:                               Minor Mode for Buffers Visiting Files.
1450                                                               (line  19)
1451 * C-c M-g B:                             Minor Mode for Buffers Visiting Files.
1452                                                               (line  80)
1453 * C-c M-g b:                             Minor Mode for Buffers Visiting Files.
1454                                                               (line  86)
1455 * C-c M-g c:                             Minor Mode for Buffers Visiting Files.
1456                                                               (line  33)
1457 * C-c M-g D:                             Minor Mode for Buffers Visiting Files.
1458                                                               (line  39)
1459 * C-c M-g d:                             Minor Mode for Buffers Visiting Files.
1460                                                               (line  47)
1461 * C-c M-g e:                             Minor Mode for Buffers Visiting Files.
1462                                                               (line 102)
1463 * C-c M-g f:                             Minor Mode for Buffers Visiting Files.
1464                                                               (line  96)
1465 * C-c M-g L:                             Minor Mode for Buffers Visiting Files.
1466                                                               (line  57)
1467 * C-c M-g l:                             Minor Mode for Buffers Visiting Files.
1468                                                               (line  64)
1469 * C-c M-g p:                             Minor Mode for Buffers Visiting Files.
1470                                                               (line 112)
1471 * C-c M-g r:                             Minor Mode for Buffers Visiting Files.
1472                                                               (line  91)
1473 * C-c M-g s:                             Minor Mode for Buffers Visiting Files.
1474                                                               (line  24)
1475 * C-c M-g t:                             Minor Mode for Buffers Visiting Files.
1476                                                               (line  71)
1477 * C-c M-g u:                             Minor Mode for Buffers Visiting Files.
1478                                                               (line  28)
1479 * C-c M-s:                               Editing Commit Messages.
1480                                                               (line  35)
1481 * C-w:                                   Common Commands.     (line  21)
1482 * C-x g:                                 Status Buffer.       (line  22)
1483 * C-x u:                                 Editing Rebase Sequences.
1484                                                               (line  89)
1485 * d:                                     Diffing.             (line  20)
1486 * D:                                     Refreshing Diffs.    (line  11)
1487 * d c:                                   Diffing.             (line  67)
1488 * d d:                                   Diffing.             (line  25)
1489 * D f:                                   Refreshing Diffs.    (line  45)
1490 * D F:                                   Refreshing Diffs.    (line  50)
1491 * D g:                                   Refreshing Diffs.    (line  16)
1492 * d p:                                   Diffing.             (line  59)
1493 * d r:                                   Diffing.             (line  29)
1494 * D r:                                   Refreshing Diffs.    (line  40)
1495 * d s:                                   Diffing.             (line  49)
1496 * D s:                                   Refreshing Diffs.    (line  21)
1497 * d t:                                   Diffing.             (line  72)
1498 * D t:                                   Refreshing Diffs.    (line  36)
1499 * d u:                                   Diffing.             (line  55)
1500 * d w:                                   Diffing.             (line  43)
1501 * D w:                                   Refreshing Diffs.    (line  28)
1502 * DEL:                                   Log Buffer.          (line  43)
1503 * DEL <1>:                               Diff Buffer.         (line 109)
1504 * DEL <2>:                               Blaming.             (line  73)
1505 * DEL <3>:                               Editing Rebase Sequences.
1506                                                               (line  28)
1507 * e:                                     Ediffing.            (line   9)
1508 * E:                                     Ediffing.            (line  21)
1509 * e <1>:                                 Editing Rebase Sequences.
1510                                                               (line  55)
1511 * E c:                                   Ediffing.            (line  65)
1512 * E i:                                   Ediffing.            (line  57)
1513 * E m:                                   Ediffing.            (line  35)
1514 * E r:                                   Ediffing.            (line  26)
1515 * E s:                                   Ediffing.            (line  48)
1516 * E u:                                   Ediffing.            (line  53)
1517 * E w:                                   Ediffing.            (line  61)
1518 * E z:                                   Ediffing.            (line  69)
1519 * f:                                     Editing Rebase Sequences.
1520                                                               (line  63)
1521 * f <1>:                                 Fetching.            (line  11)
1522 * F:                                     Pulling.             (line  11)
1523 * f a:                                   Fetching.            (line  38)
1524 * f e:                                   Fetching.            (line  24)
1525 * F e:                                   Pulling.             (line  24)
1526 * f m:                                   Fetching.            (line  42)
1527 * f o:                                   Fetching.            (line  28)
1528 * f p:                                   Fetching.            (line  16)
1529 * F p:                                   Pulling.             (line  16)
1530 * f r:                                   Fetching.            (line  33)
1531 * f u:                                   Fetching.            (line  20)
1532 * F u:                                   Pulling.             (line  20)
1533 * g:                                     Automatic Refreshing of Magit Buffers.
1534                                                               (line  22)
1535 * G:                                     Automatic Refreshing of Magit Buffers.
1536                                                               (line  31)
1537 * j:                                     Diff Buffer.         (line  99)
1538 * k:                                     Viewing Git Output.  (line  24)
1539 * k <1>:                                 Applying.            (line  40)
1540 * k <2>:                                 Editing Rebase Sequences.
1541                                                               (line  68)
1542 * k <3>:                                 Stashing.            (line  95)
1543 * l:                                     Logging.             (line  28)
1544 * L:                                     Refreshing Logs.     (line  11)
1545 * L <1>:                                 Log Buffer.          (line   6)
1546 * L <2>:                                 Log Margin.          (line  47)
1547 * l a:                                   Logging.             (line  58)
1548 * l b:                                   Logging.             (line  54)
1549 * L d:                                   Log Margin.          (line  64)
1550 * L g:                                   Refreshing Logs.     (line  16)
1551 * l h:                                   Logging.             (line  46)
1552 * l H:                                   Reflog.              (line  19)
1553 * l l:                                   Logging.             (line  33)
1554 * l L:                                   Logging.             (line  50)
1555 * L L:                                   Log Margin.          (line  56)
1556 * L l:                                   Log Margin.          (line  60)
1557 * l o:                                   Logging.             (line  39)
1558 * l O:                                   Reflog.              (line  15)
1559 * l r:                                   Reflog.              (line  11)
1560 * L s:                                   Refreshing Logs.     (line  21)
1561 * L t:                                   Refreshing Logs.     (line  36)
1562 * L w:                                   Refreshing Logs.     (line  28)
1563 * m:                                     Merging.             (line   9)
1564 * M:                                     The Remote Popup.    (line  13)
1565 * m a:                                   Merging.             (line  44)
1566 * m a <1>:                               Merging.             (line  94)
1567 * M a:                                   The Remote Popup.    (line  35)
1568 * M C:                                   The Remote Popup.    (line  26)
1569 * m e:                                   Merging.             (line  30)
1570 * m i:                                   Merging.             (line  57)
1571 * M k:                                   The Remote Popup.    (line  50)
1572 * m m:                                   Merging.             (line  17)
1573 * m m <1>:                               Merging.             (line  88)
1574 * m n:                                   Merging.             (line  37)
1575 * m p:                                   Merging.             (line  80)
1576 * M p:                                   The Remote Popup.    (line  54)
1577 * M P:                                   The Remote Popup.    (line  59)
1578 * M r:                                   The Remote Popup.    (line  40)
1579 * m s:                                   Merging.             (line  71)
1580 * M u:                                   The Remote Popup.    (line  45)
1581 * M-1:                                   Section Visibility.  (line  33)
1582 * M-2:                                   Section Visibility.  (line  34)
1583 * M-3:                                   Section Visibility.  (line  35)
1584 * M-4:                                   Section Visibility.  (line  36)
1585 * M-<tab>:                               Section Visibility.  (line  17)
1586 * M-n:                                   Section Movement.    (line  26)
1587 * M-n <1>:                               Editing Commit Messages.
1588                                                               (line  45)
1589 * M-n <2>:                               Editing Rebase Sequences.
1590                                                               (line  47)
1591 * M-p:                                   Section Movement.    (line  20)
1592 * M-p <1>:                               Editing Commit Messages.
1593                                                               (line  39)
1594 * M-p <2>:                               Editing Rebase Sequences.
1595                                                               (line  43)
1596 * M-w:                                   Blaming.             (line 112)
1597 * M-w <1>:                               Common Commands.     (line  10)
1598 * M-x magit-clone:                       Repository Setup.    (line  16)
1599 * M-x magit-debug-git-executable:        Git Executable.      (line  45)
1600 * M-x magit-debug-git-executable <1>:    Debugging Tools.     (line  30)
1601 * M-x magit-describe-section-briefly:    Section Types and Values.
1602                                                               (line  13)
1603 * M-x magit-describe-section-briefly <1>: Matching Sections.  (line   6)
1604 * M-x magit-emacs-Q-command:             Debugging Tools.     (line  16)
1605 * M-x magit-find-file:                   Visiting Blobs.      (line   6)
1606 * M-x magit-find-file-other-window:      Visiting Blobs.      (line  11)
1607 * M-x magit-init:                        Repository Setup.    (line   6)
1608 * M-x magit-reset-index:                 Staging and Unstaging.
1609                                                               (line  87)
1610 * M-x magit-reverse-in-index:            Staging and Unstaging.
1611                                                               (line  62)
1612 * M-x magit-stage-file:                  Staging from File-Visiting Buffers.
1613                                                               (line  10)
1614 * M-x magit-toggle-buffer-lock:          Modes and Buffers.   (line  17)
1615 * M-x magit-unstage-file:                Staging from File-Visiting Buffers.
1616                                                               (line  18)
1617 * M-x magit-version:                     Git Executable.      (line  17)
1618 * M-x magit-version <1>:                 Debugging Tools.     (line  10)
1619 * M-x magit-wip-commit:                  Wip Modes.           (line  88)
1620 * M-x with-editor-debug:                 Debugging Tools.     (line  38)
1621 * n:                                     Section Movement.    (line  16)
1622 * n <1>:                                 Blaming.             (line  91)
1623 * N:                                     Blaming.             (line  95)
1624 * n <2>:                                 Editing Rebase Sequences.
1625                                                               (line  39)
1626 * n <3>:                                 Minor Mode for Buffers Visiting Blobs.
1627                                                               (line  16)
1628 * o:                                     Submodule Popup.     (line   6)
1629 * O:                                     Subtree.             (line   8)
1630 * o a:                                   Submodule Popup.     (line  19)
1631 * O a:                                   Subtree.             (line  20)
1632 * O c:                                   Subtree.             (line  24)
1633 * o d:                                   Submodule Popup.     (line  49)
1634 * o f:                                   Submodule Popup.     (line  57)
1635 * O f:                                   Subtree.             (line  32)
1636 * o l:                                   Submodule Popup.     (line  53)
1637 * O m:                                   Subtree.             (line  28)
1638 * o p:                                   Submodule Popup.     (line  33)
1639 * O p:                                   Subtree.             (line  36)
1640 * o r:                                   Submodule Popup.     (line  26)
1641 * o s:                                   Submodule Popup.     (line  43)
1642 * O s:                                   Subtree.             (line  41)
1643 * o u:                                   Submodule Popup.     (line  38)
1644 * p:                                     Section Movement.    (line  10)
1645 * p <1>:                                 Blaming.             (line  99)
1646 * P:                                     Blaming.             (line 103)
1647 * p <2>:                                 Editing Rebase Sequences.
1648                                                               (line  35)
1649 * P <1>:                                 Pushing.             (line  11)
1650 * p <3>:                                 Minor Mode for Buffers Visiting Blobs.
1651                                                               (line  12)
1652 * P e:                                   Pushing.             (line  35)
1653 * P m:                                   Pushing.             (line  53)
1654 * P o:                                   Pushing.             (line  39)
1655 * P p:                                   Pushing.             (line  16)
1656 * P r:                                   Pushing.             (line  44)
1657 * P t:                                   Pushing.             (line  59)
1658 * P T:                                   Pushing.             (line  65)
1659 * P u:                                   Pushing.             (line  26)
1660 * q:                                     Quitting Windows.    (line   6)
1661 * q <1>:                                 Log Buffer.          (line  12)
1662 * q <2>:                                 Blaming.             (line 107)
1663 * q <3>:                                 Minor Mode for Buffers Visiting Blobs.
1664                                                               (line  20)
1665 * r:                                     Rebasing.            (line   9)
1666 * r <1>:                                 Editing Rebase Sequences.
1667                                                               (line  51)
1668 * r a:                                   Rebasing.            (line 107)
1669 * r e:                                   Rebasing.            (line  33)
1670 * r e <1>:                               Rebasing.            (line 103)
1671 * r f:                                   Rebasing.            (line  73)
1672 * r i:                                   Rebasing.            (line  69)
1673 * r k:                                   Rebasing.            (line  85)
1674 * r m:                                   Rebasing.            (line  77)
1675 * r p:                                   Rebasing.            (line  24)
1676 * r r:                                   Rebasing.            (line  92)
1677 * r s:                                   Rebasing.            (line  39)
1678 * r s <1>:                               Rebasing.            (line  99)
1679 * r u:                                   Rebasing.            (line  29)
1680 * r w:                                   Rebasing.            (line  81)
1681 * RET:                                   Diff Buffer.         (line   8)
1682 * RET <1>:                               References Buffer.   (line 166)
1683 * RET <2>:                               Blaming.             (line  59)
1684 * RET <3>:                               Editing Rebase Sequences.
1685                                                               (line  16)
1686 * s:                                     Staging and Unstaging.
1687                                                               (line  28)
1688 * S:                                     Staging and Unstaging.
1689                                                               (line  36)
1690 * s <1>:                                 Editing Rebase Sequences.
1691                                                               (line  59)
1692 * S-<tab>:                               Section Visibility.  (line  22)
1693 * SPC:                                   Log Buffer.          (line  33)
1694 * SPC <1>:                               Diff Buffer.         (line 105)
1695 * SPC <2>:                               Blaming.             (line  63)
1696 * SPC <3>:                               Editing Rebase Sequences.
1697                                                               (line  21)
1698 * t:                                     Tagging.             (line   8)
1699 * T:                                     Notes.               (line   8)
1700 * T a:                                   Notes.               (line  51)
1701 * T c:                                   Notes.               (line  46)
1702 * t k:                                   Tagging.             (line  18)
1703 * T m:                                   Notes.               (line  37)
1704 * t p:                                   Tagging.             (line  24)
1705 * T p:                                   Notes.               (line  29)
1706 * T r:                                   Notes.               (line  21)
1707 * t t:                                   Tagging.             (line  13)
1708 * T T:                                   Notes.               (line  13)
1709 * TAB:                                   Section Visibility.  (line   9)
1710 * u:                                     Staging and Unstaging.
1711                                                               (line  43)
1712 * U:                                     Staging and Unstaging.
1713                                                               (line  52)
1714 * v:                                     Applying.            (line  44)
1715 * V:                                     Reverting.           (line   6)
1716 * V A:                                   Reverting.           (line  30)
1717 * V a:                                   Reverting.           (line  38)
1718 * V s:                                   Reverting.           (line  34)
1719 * V V:                                   Reverting.           (line  14)
1720 * V v:                                   Reverting.           (line  20)
1721 * W:                                     Creating and Sending Patches.
1722                                                               (line   6)
1723 * w:                                     Applying Patches.    (line   8)
1724 * w a:                                   Applying Patches.    (line  34)
1725 * w a <1>:                               Applying Patches.    (line  42)
1726 * w a a:                                 Applying Patches.    (line  47)
1727 * w m:                                   Applying Patches.    (line  19)
1728 * W p:                                   Creating and Sending Patches.
1729                                                               (line  11)
1730 * W r:                                   Creating and Sending Patches.
1731                                                               (line  17)
1732 * w s:                                   Applying Patches.    (line  30)
1733 * w w:                                   Applying Patches.    (line  13)
1734 * w w <1>:                               Applying Patches.    (line  26)
1735 * x:                                     Editing Rebase Sequences.
1736                                                               (line  76)
1737 * x <1>:                                 Resetting.           (line   8)
1738 * X f:                                   Resetting.           (line  44)
1739 * X h:                                   Resetting.           (line  26)
1740 * X i:                                   Resetting.           (line  31)
1741 * X m:                                   Resetting.           (line  15)
1742 * X s:                                   Resetting.           (line  20)
1743 * X w:                                   Resetting.           (line  38)
1744 * X w <1>:                               Wip Modes.           (line  66)
1745 * Y:                                     Cherries.            (line  17)
1746 * y:                                     References Buffer.   (line   6)
1747 * y <1>:                                 Editing Rebase Sequences.
1748                                                               (line  85)
1749 * y c:                                   References Buffer.   (line  19)
1750 * y o:                                   References Buffer.   (line  24)
1751 * y y:                                   References Buffer.   (line  14)
1752 * z:                                     Stashing.            (line   8)
1753 * z a:                                   Stashing.            (line  58)
1754 * z b:                                   Stashing.            (line  80)
1755 * z B:                                   Stashing.            (line  85)
1756 * z f:                                   Stashing.            (line  91)
1757 * z i:                                   Stashing.            (line  20)
1758 * z I:                                   Stashing.            (line  46)
1759 * z k:                                   Stashing.            (line  71)
1760 * z l:                                   Stashing.            (line  99)
1761 * z p:                                   Stashing.            (line  64)
1762 * z v:                                   Stashing.            (line  76)
1763 * z w:                                   Stashing.            (line  25)
1764 * z W:                                   Stashing.            (line  51)
1765 * z x:                                   Stashing.            (line  32)
1766 * z z:                                   Stashing.            (line  13)
1767 * z Z:                                   Stashing.            (line  39)
1768
1769 
1770 File: magit.info,  Node: Command Index,  Next: Function Index,  Prev: Keystroke Index,  Up: Top
1771
1772 Appendix D Command Index
1773 ************************
1774
1775 [index]
1776 * Menu:
1777
1778 * auto-revert-mode:                      Automatic Reverting of File-Visiting Buffers.
1779                                                               (line  62)
1780 * forward-line:                          Editing Rebase Sequences.
1781                                                               (line  39)
1782 * git-commit-ack:                        Editing Commit Messages.
1783                                                               (line 128)
1784 * git-commit-cc:                         Editing Commit Messages.
1785                                                               (line 144)
1786 * git-commit-next-message:               Editing Commit Messages.
1787                                                               (line  45)
1788 * git-commit-prev-message:               Editing Commit Messages.
1789                                                               (line  39)
1790 * git-commit-reported:                   Editing Commit Messages.
1791                                                               (line 148)
1792 * git-commit-review:                     Editing Commit Messages.
1793                                                               (line 132)
1794 * git-commit-save-message:               Editing Commit Messages.
1795                                                               (line  35)
1796 * git-commit-signoff:                    Editing Commit Messages.
1797                                                               (line 136)
1798 * git-commit-suggested:                  Editing Commit Messages.
1799                                                               (line 153)
1800 * git-commit-test:                       Editing Commit Messages.
1801                                                               (line 140)
1802 * git-rebase-backward-line:              Editing Rebase Sequences.
1803                                                               (line  35)
1804 * git-rebase-edit:                       Editing Rebase Sequences.
1805                                                               (line  55)
1806 * git-rebase-exec:                       Editing Rebase Sequences.
1807                                                               (line  76)
1808 * git-rebase-fixup:                      Editing Rebase Sequences.
1809                                                               (line  63)
1810 * git-rebase-insert:                     Editing Rebase Sequences.
1811                                                               (line  85)
1812 * git-rebase-kill-line:                  Editing Rebase Sequences.
1813                                                               (line  68)
1814 * git-rebase-move-line-down:             Editing Rebase Sequences.
1815                                                               (line  47)
1816 * git-rebase-move-line-up:               Editing Rebase Sequences.
1817                                                               (line  43)
1818 * git-rebase-pick:                       Editing Rebase Sequences.
1819                                                               (line  72)
1820 * git-rebase-reword:                     Editing Rebase Sequences.
1821                                                               (line  51)
1822 * git-rebase-show-commit:                Editing Rebase Sequences.
1823                                                               (line  16)
1824 * git-rebase-show-or-scroll-down:        Editing Rebase Sequences.
1825                                                               (line  28)
1826 * git-rebase-show-or-scroll-up:          Editing Rebase Sequences.
1827                                                               (line  21)
1828 * git-rebase-squash:                     Editing Rebase Sequences.
1829                                                               (line  59)
1830 * git-rebase-undo:                       Editing Rebase Sequences.
1831                                                               (line  89)
1832 * ido-enter-magit-status:                Status Buffer.       (line  47)
1833 * magit-am-abort:                        Applying Patches.    (line  34)
1834 * magit-am-apply-maildir:                Applying Patches.    (line  19)
1835 * magit-am-apply-patches:                Applying Patches.    (line  13)
1836 * magit-am-continue:                     Applying Patches.    (line  26)
1837 * magit-am-popup:                        Applying Patches.    (line   8)
1838 * magit-am-skip:                         Applying Patches.    (line  30)
1839 * magit-apply:                           Applying.            (line  33)
1840 * magit-bisect-bad:                      Bisecting.           (line  31)
1841 * magit-bisect-good:                     Bisecting.           (line  36)
1842 * magit-bisect-popup:                    Bisecting.           (line   8)
1843 * magit-bisect-reset:                    Bisecting.           (line  47)
1844 * magit-bisect-run:                      Bisecting.           (line  24)
1845 * magit-bisect-skip:                     Bisecting.           (line  41)
1846 * magit-bisect-start:                    Bisecting.           (line  16)
1847 * magit-blame-addition:                  Blaming.             (line  17)
1848 * magit-blame-addition <1>:              Minor Mode for Buffers Visiting Files.
1849                                                               (line  86)
1850 * magit-blame-copy-hash:                 Blaming.             (line 112)
1851 * magit-blame-cycle-style:               Blaming.             (line 120)
1852 * magit-blame-echo:                      Blaming.             (line  32)
1853 * magit-blame-next-chunk:                Blaming.             (line  91)
1854 * magit-blame-next-chunk-same-commit:    Blaming.             (line  95)
1855 * magit-blame-popup:                     Blaming.             (line  86)
1856 * magit-blame-popup <1>:                 Minor Mode for Buffers Visiting Files.
1857                                                               (line  80)
1858 * magit-blame-previous-chunk:            Blaming.             (line  99)
1859 * magit-blame-previous-chunk-same-commit: Blaming.            (line 103)
1860 * magit-blame-quit:                      Blaming.             (line 107)
1861 * magit-blame-removal:                   Blaming.             (line  38)
1862 * magit-blame-removal <1>:               Minor Mode for Buffers Visiting Files.
1863                                                               (line  91)
1864 * magit-blame-reverse:                   Blaming.             (line  46)
1865 * magit-blame-reverse <1>:               Minor Mode for Buffers Visiting Files.
1866                                                               (line  96)
1867 * magit-blob-next:                       Minor Mode for Buffers Visiting Blobs.
1868                                                               (line  16)
1869 * magit-blob-previous:                   Minor Mode for Buffers Visiting Files.
1870                                                               (line 112)
1871 * magit-blob-previous <1>:               Minor Mode for Buffers Visiting Blobs.
1872                                                               (line  12)
1873 * magit-branch-and-checkout:             The Branch Popup.    (line  55)
1874 * magit-branch-checkout:                 The Branch Popup.    (line  62)
1875 * magit-branch-config-popup:             The Branch Popup.    (line  29)
1876 * magit-branch-config-popup <1>:         The Branch Config Popup.
1877                                                               (line   6)
1878 * magit-branch-create:                   The Branch Popup.    (line  45)
1879 * magit-branch-delete:                   The Branch Popup.    (line 240)
1880 * magit-branch-or-checkout:              The Branch Popup.    (line 350)
1881 * magit-branch-orphan:                   The Branch Popup.    (line 345)
1882 * magit-branch-popup:                    The Branch Popup.    (line  12)
1883 * magit-branch-pull-request:             The Branch Popup.    (line 113)
1884 * magit-branch-rename:                   The Branch Popup.    (line 246)
1885 * magit-branch-reset:                    The Branch Popup.    (line 224)
1886 * magit-branch-shelve:                   Auxiliary Branch Commands.
1887                                                               (line   8)
1888 * magit-branch-spinoff:                  The Branch Popup.    (line  85)
1889 * magit-branch-unshelve:                 Auxiliary Branch Commands.
1890                                                               (line  19)
1891 * magit-checkout:                        The Branch Popup.    (line  37)
1892 * magit-checkout-pull-request:           The Branch Popup.    (line 218)
1893 * magit-cherry:                          Cherries.            (line  17)
1894 * magit-cherry-apply:                    Cherry Picking.      (line  23)
1895 * magit-cherry-copy:                     Cherry Picking.      (line  16)
1896 * magit-cherry-donate:                   Cherry Picking.      (line  53)
1897 * magit-cherry-harvest:                  Cherry Picking.      (line  41)
1898 * magit-cherry-pick-popup:               Cherry Picking.      (line   8)
1899 * magit-cherry-spinoff:                  Cherry Picking.      (line  75)
1900 * magit-cherry-spinout:                  Cherry Picking.      (line  64)
1901 * magit-clone:                           Repository Setup.    (line  16)
1902 * magit-commit-amend:                    Initiating a Commit. (line  18)
1903 * magit-commit-augment:                  Initiating a Commit. (line  66)
1904 * magit-commit-create:                   Initiating a Commit. (line  13)
1905 * magit-commit-extend:                   Initiating a Commit. (line  22)
1906 * magit-commit-fixup:                    Initiating a Commit. (line  42)
1907 * magit-commit-instant-fixup:            Initiating a Commit. (line  50)
1908 * magit-commit-instant-squash:           Initiating a Commit. (line  62)
1909 * magit-commit-popup:                    Initiating a Commit. (line   8)
1910 * magit-commit-popup <1>:                Minor Mode for Buffers Visiting Files.
1911                                                               (line  33)
1912 * magit-commit-reword:                   Initiating a Commit. (line  32)
1913 * magit-commit-squash:                   Initiating a Commit. (line  54)
1914 * magit-copy-buffer-revision:            Common Commands.     (line  21)
1915 * magit-copy-section-value:              Common Commands.     (line  10)
1916 * magit-cycle-margin-style:              Log Margin.          (line  60)
1917 * magit-debug-git-executable:            Git Executable.      (line  45)
1918 * magit-debug-git-executable <1>:        Debugging Tools.     (line  30)
1919 * magit-describe-section-briefly:        Section Types and Values.
1920                                                               (line  13)
1921 * magit-describe-section-briefly <1>:    Matching Sections.   (line   6)
1922 * magit-diff-buffer-file:                Minor Mode for Buffers Visiting Files.
1923                                                               (line  47)
1924 * magit-diff-buffer-file-popup:          Minor Mode for Buffers Visiting Files.
1925                                                               (line  39)
1926 * magit-diff-default-context:            Refreshing Diffs.    (line  72)
1927 * magit-diff-dwim:                       Diffing.             (line  25)
1928 * magit-diff-edit-hunk-commit:           Diff Buffer.         (line  80)
1929 * magit-diff-flip-revs:                  Refreshing Diffs.    (line  45)
1930 * magit-diff-less-context:               Refreshing Diffs.    (line  64)
1931 * magit-diff-more-context:               Refreshing Diffs.    (line  68)
1932 * magit-diff-paths:                      Diffing.             (line  59)
1933 * magit-diff-popup:                      Diffing.             (line  20)
1934 * magit-diff-range:                      Diffing.             (line  29)
1935 * magit-diff-refresh:                    Refreshing Diffs.    (line  16)
1936 * magit-diff-refresh-popup:              Refreshing Diffs.    (line  11)
1937 * magit-diff-save-default-arguments:     Refreshing Diffs.    (line  28)
1938 * magit-diff-set-default-arguments:      Refreshing Diffs.    (line  21)
1939 * magit-diff-show-or-scroll-down:        Log Buffer.          (line  43)
1940 * magit-diff-show-or-scroll-down <1>:    Blaming.             (line  73)
1941 * magit-diff-show-or-scroll-up:          Log Buffer.          (line  33)
1942 * magit-diff-show-or-scroll-up <1>:      Blaming.             (line  63)
1943 * magit-diff-staged:                     Diffing.             (line  49)
1944 * magit-diff-switch-range-type:          Refreshing Diffs.    (line  40)
1945 * magit-diff-toggle-file-filter:         Refreshing Diffs.    (line  50)
1946 * magit-diff-toggle-refine-hunk:         Refreshing Diffs.    (line  36)
1947 * magit-diff-trace-definition:           Diff Buffer.         (line  70)
1948 * magit-diff-unstaged:                   Diffing.             (line  55)
1949 * magit-diff-visit-file:                 Diff Buffer.         (line   8)
1950 * magit-diff-visit-file-other-window:    Diff Buffer.         (line  65)
1951 * magit-diff-visit-file-worktree:        Diff Buffer.         (line  48)
1952 * magit-diff-while-committing:           Refreshing Diffs.    (line  80)
1953 * magit-diff-while-committing <1>:       Editing Commit Messages.
1954                                                               (line  57)
1955 * magit-diff-working-tree:               Diffing.             (line  43)
1956 * magit-discard:                         Applying.            (line  40)
1957 * magit-dispatch-popup:                  Popup Buffers and Prefix Commands.
1958                                                               (line  20)
1959 * magit-ediff-compare:                   Ediffing.            (line  26)
1960 * magit-ediff-dwim:                      Ediffing.            (line   9)
1961 * magit-ediff-popup:                     Ediffing.            (line  21)
1962 * magit-ediff-resolve:                   Ediffing.            (line  35)
1963 * magit-ediff-show-commit:               Ediffing.            (line  65)
1964 * magit-ediff-show-staged:               Ediffing.            (line  57)
1965 * magit-ediff-show-stash:                Ediffing.            (line  69)
1966 * magit-ediff-show-unstaged:             Ediffing.            (line  53)
1967 * magit-ediff-show-working-tree:         Ediffing.            (line  61)
1968 * magit-ediff-stage:                     Ediffing.            (line  48)
1969 * magit-edit-line-commit:                Minor Mode for Buffers Visiting Files.
1970                                                               (line 102)
1971 * magit-emacs-Q-command:                 Debugging Tools.     (line  16)
1972 * magit-fetch-all:                       Fetching.            (line  38)
1973 * magit-fetch-branch:                    Fetching.            (line  28)
1974 * magit-fetch-from-pushremote:           Fetching.            (line  16)
1975 * magit-fetch-from-upstream:             Fetching.            (line  20)
1976 * magit-fetch-modules:                   Submodule Popup.     (line  57)
1977 * magit-fetch-other:                     Fetching.            (line  24)
1978 * magit-fetch-popup:                     Fetching.            (line  11)
1979 * magit-fetch-refspec:                   Fetching.            (line  33)
1980 * magit-file-checkout:                   Resetting.           (line  44)
1981 * magit-file-checkout <1>:               Minor Mode for Buffers Visiting Files.
1982                                                               (line 131)
1983 * magit-file-delete:                     Minor Mode for Buffers Visiting Files.
1984                                                               (line 123)
1985 * magit-file-popup:                      Minor Mode for Buffers Visiting Files.
1986                                                               (line  19)
1987 * magit-file-rename:                     Minor Mode for Buffers Visiting Files.
1988                                                               (line 119)
1989 * magit-file-untrack:                    Minor Mode for Buffers Visiting Files.
1990                                                               (line 127)
1991 * magit-find-file:                       Visiting Blobs.      (line   6)
1992 * magit-find-file-other-window:          Visiting Blobs.      (line  11)
1993 * magit-format-patch:                    Creating and Sending Patches.
1994                                                               (line  11)
1995 * magit-git-command:                     Running Git Manually.
1996                                                               (line  24)
1997 * magit-git-command-topdir:              Running Git Manually.
1998                                                               (line  16)
1999 * magit-go-backward:                     Log Buffer.          (line  19)
2000 * magit-go-backward <1>:                 Refreshing Diffs.    (line  90)
2001 * magit-go-forward:                      Log Buffer.          (line  23)
2002 * magit-go-forward <1>:                  Refreshing Diffs.    (line  94)
2003 * magit-init:                            Repository Setup.    (line   6)
2004 * magit-jump-to-diffstat-or-diff:        Diff Buffer.         (line  99)
2005 * magit-kill-this-buffer:                Minor Mode for Buffers Visiting Blobs.
2006                                                               (line  20)
2007 * magit-list-repositories:               Repository List.     (line   6)
2008 * magit-list-submodules:                 Listing Submodules.  (line  13)
2009 * magit-list-submodules <1>:             Submodule Popup.     (line  53)
2010 * magit-log-all:                         Logging.             (line  58)
2011 * magit-log-all-branches:                Logging.             (line  54)
2012 * magit-log-branches:                    Logging.             (line  50)
2013 * magit-log-buffer-file:                 Minor Mode for Buffers Visiting Files.
2014                                                               (line  64)
2015 * magit-log-buffer-file-popup:           Minor Mode for Buffers Visiting Files.
2016                                                               (line  57)
2017 * magit-log-bury-buffer:                 Log Buffer.          (line  12)
2018 * magit-log-current:                     Logging.             (line  33)
2019 * magit-log-double-commit-limit:         Log Buffer.          (line  59)
2020 * magit-log-half-commit-limit:           Log Buffer.          (line  63)
2021 * magit-log-head:                        Logging.             (line  46)
2022 * magit-log-move-to-parent:              Log Buffer.          (line  27)
2023 * magit-log-other:                       Logging.             (line  39)
2024 * magit-log-popup:                       Logging.             (line  28)
2025 * magit-log-refresh:                     Refreshing Logs.     (line  16)
2026 * magit-log-refresh-popup:               Refreshing Logs.     (line  11)
2027 * magit-log-refresh-popup <1>:           Log Buffer.          (line   6)
2028 * magit-log-save-default-arguments:      Refreshing Logs.     (line  28)
2029 * magit-log-select-pick:                 Select from Log.     (line  20)
2030 * magit-log-select-quit:                 Select from Log.     (line  26)
2031 * magit-log-set-default-arguments:       Refreshing Logs.     (line  21)
2032 * magit-log-toggle-commit-limit:         Log Buffer.          (line  53)
2033 * magit-log-trace-definition:            Minor Mode for Buffers Visiting Files.
2034                                                               (line  71)
2035 * magit-margin-popup:                    Log Margin.          (line  47)
2036 * magit-merge:                           Merging.             (line  88)
2037 * magit-merge-abort:                     Merging.             (line  94)
2038 * magit-merge-absorb:                    Merging.             (line  44)
2039 * magit-merge-editmsg:                   Merging.             (line  30)
2040 * magit-merge-into:                      Merging.             (line  57)
2041 * magit-merge-nocommit:                  Merging.             (line  37)
2042 * magit-merge-plain:                     Merging.             (line  17)
2043 * magit-merge-popup:                     Merging.             (line   9)
2044 * magit-merge-preview:                   Merging.             (line  80)
2045 * magit-merge-squash:                    Merging.             (line  71)
2046 * magit-mode-bury-buffer:                Quitting Windows.    (line   6)
2047 * magit-notes-edit:                      Notes.               (line  13)
2048 * magit-notes-merge:                     Notes.               (line  37)
2049 * magit-notes-merge-abort:               Notes.               (line  51)
2050 * magit-notes-merge-commit:              Notes.               (line  46)
2051 * magit-notes-popup:                     Notes.               (line   8)
2052 * magit-notes-prune:                     Notes.               (line  29)
2053 * magit-notes-remove:                    Notes.               (line  21)
2054 * magit-patch-apply:                     Applying Patches.    (line  47)
2055 * magit-patch-apply-popup:               Applying Patches.    (line  42)
2056 * magit-patch-popup:                     Creating and Sending Patches.
2057                                                               (line   6)
2058 * magit-pop-revision-stack:              Editing Commit Messages.
2059                                                               (line  63)
2060 * magit-process:                         Viewing Git Output.  (line  16)
2061 * magit-process-kill:                    Viewing Git Output.  (line  24)
2062 * magit-pull-branch:                     Pulling.             (line  24)
2063 * magit-pull-from-pushremote:            Pulling.             (line  16)
2064 * magit-pull-from-upstream:              Pulling.             (line  20)
2065 * magit-pull-popup:                      Pulling.             (line  11)
2066 * magit-push-current:                    Pushing.             (line  35)
2067 * magit-push-current-to-pushremote:      Pushing.             (line  16)
2068 * magit-push-current-to-upstream:        Pushing.             (line  26)
2069 * magit-push-implicitly args:            Pushing.             (line  73)
2070 * magit-push-matching:                   Pushing.             (line  53)
2071 * magit-push-other:                      Pushing.             (line  39)
2072 * magit-push-popup:                      Pushing.             (line  11)
2073 * magit-push-refspecs:                   Pushing.             (line  44)
2074 * magit-push-tag:                        Pushing.             (line  65)
2075 * magit-push-tags:                       Pushing.             (line  59)
2076 * magit-push-to-remote remote args:      Pushing.             (line  84)
2077 * magit-rebase-abort:                    Rebasing.            (line 107)
2078 * magit-rebase-autosquash:               Rebasing.            (line  73)
2079 * magit-rebase-branch:                   Rebasing.            (line  33)
2080 * magit-rebase-continue:                 Rebasing.            (line  92)
2081 * magit-rebase-edit:                     Rebasing.            (line 103)
2082 * magit-rebase-edit-commit:              Rebasing.            (line  77)
2083 * magit-rebase-interactive:              Rebasing.            (line  69)
2084 * magit-rebase-onto-pushremote:          Rebasing.            (line  24)
2085 * magit-rebase-onto-upstream:            Rebasing.            (line  29)
2086 * magit-rebase-popup:                    Rebasing.            (line   9)
2087 * magit-rebase-remove-commit:            Rebasing.            (line  85)
2088 * magit-rebase-reword-commit:            Rebasing.            (line  81)
2089 * magit-rebase-skip:                     Rebasing.            (line  99)
2090 * magit-rebase-subset:                   Rebasing.            (line  39)
2091 * magit-reflog-current:                  Reflog.              (line  11)
2092 * magit-reflog-head:                     Reflog.              (line  19)
2093 * magit-reflog-other:                    Reflog.              (line  15)
2094 * magit-refresh:                         Automatic Refreshing of Magit Buffers.
2095                                                               (line  22)
2096 * magit-refresh-all:                     Automatic Refreshing of Magit Buffers.
2097                                                               (line  31)
2098 * magit-remote-add:                      The Remote Popup.    (line  35)
2099 * magit-remote-config-popup:             The Remote Popup.    (line  26)
2100 * magit-remote-config-popup <1>:         The Remote Config Popup.
2101                                                               (line   6)
2102 * magit-remote-popup:                    The Remote Popup.    (line  13)
2103 * magit-remote-prune:                    The Remote Popup.    (line  54)
2104 * magit-remote-prune-refspecs:           The Remote Popup.    (line  59)
2105 * magit-remote-remove:                   The Remote Popup.    (line  50)
2106 * magit-remote-rename:                   The Remote Popup.    (line  40)
2107 * magit-remote-set-url:                  The Remote Popup.    (line  45)
2108 * magit-request-pull:                    Creating and Sending Patches.
2109                                                               (line  17)
2110 * magit-reset-hard:                      Resetting.           (line  26)
2111 * magit-reset-index:                     Staging and Unstaging.
2112                                                               (line  87)
2113 * magit-reset-index <1>:                 Resetting.           (line  31)
2114 * magit-reset-mixed:                     Resetting.           (line  15)
2115 * magit-reset-quickly:                   Resetting.           (line   8)
2116 * magit-reset-soft:                      Resetting.           (line  20)
2117 * magit-reset-worktree:                  Resetting.           (line  38)
2118 * magit-reset-worktree <1>:              Wip Modes.           (line  66)
2119 * magit-reverse:                         Applying.            (line  44)
2120 * magit-reverse-in-index:                Staging and Unstaging.
2121                                                               (line  62)
2122 * magit-revert-and-commit:               Reverting.           (line  14)
2123 * magit-revert-no-commit:                Reverting.           (line  20)
2124 * magit-revert-popup:                    Reverting.           (line   6)
2125 * magit-run-git-gui:                     Running Git Manually.
2126                                                               (line  65)
2127 * magit-run-gitk:                        Running Git Manually.
2128                                                               (line  53)
2129 * magit-run-gitk-all:                    Running Git Manually.
2130                                                               (line  57)
2131 * magit-run-gitk-branches:               Running Git Manually.
2132                                                               (line  61)
2133 * magit-run-popup:                       Running Git Manually.
2134                                                               (line  12)
2135 * magit-section-backward:                Section Movement.    (line  10)
2136 * magit-section-backward-siblings:       Section Movement.    (line  20)
2137 * magit-section-cycle:                   Section Visibility.  (line  13)
2138 * magit-section-cycle-diffs:             Section Visibility.  (line  17)
2139 * magit-section-cycle-global:            Section Visibility.  (line  22)
2140 * magit-section-forward:                 Section Movement.    (line  16)
2141 * magit-section-forward-siblings:        Section Movement.    (line  26)
2142 * magit-section-hide:                    Section Visibility.  (line  49)
2143 * magit-section-hide-children:           Section Visibility.  (line  64)
2144 * magit-section-show:                    Section Visibility.  (line  45)
2145 * magit-section-show-children:           Section Visibility.  (line  58)
2146 * magit-section-show-headings:           Section Visibility.  (line  53)
2147 * magit-section-show-level-1:            Section Visibility.  (line  26)
2148 * magit-section-show-level-1-all:        Section Visibility.  (line  33)
2149 * magit-section-show-level-2:            Section Visibility.  (line  27)
2150 * magit-section-show-level-2-all:        Section Visibility.  (line  34)
2151 * magit-section-show-level-3:            Section Visibility.  (line  28)
2152 * magit-section-show-level-3-all:        Section Visibility.  (line  35)
2153 * magit-section-show-level-4:            Section Visibility.  (line  29)
2154 * magit-section-show-level-4-all:        Section Visibility.  (line  36)
2155 * magit-section-toggle:                  Section Visibility.  (line   9)
2156 * magit-section-toggle-children:         Section Visibility.  (line  68)
2157 * magit-section-up:                      Section Movement.    (line  31)
2158 * magit-sequence-abort:                  Cherry Picking.      (line  97)
2159 * magit-sequence-abort <1>:              Reverting.           (line  38)
2160 * magit-sequence-continue:               Cherry Picking.      (line  89)
2161 * magit-sequence-continue <1>:           Reverting.           (line  30)
2162 * magit-sequence-skip:                   Cherry Picking.      (line  93)
2163 * magit-sequence-skip <1>:               Reverting.           (line  34)
2164 * magit-shell-command:                   Running Git Manually.
2165                                                               (line  39)
2166 * magit-shell-command-topdir:            Running Git Manually.
2167                                                               (line  34)
2168 * magit-show-commit:                     Diffing.             (line  67)
2169 * magit-show-commit <1>:                 Blaming.             (line  59)
2170 * magit-show-refs:                       References Buffer.   (line  24)
2171 * magit-show-refs-current:               References Buffer.   (line  19)
2172 * magit-show-refs-head:                  References Buffer.   (line  14)
2173 * magit-show-refs-popup:                 References Buffer.   (line   6)
2174 * magit-snapshot-both:                   Stashing.            (line  39)
2175 * magit-snapshot-index:                  Stashing.            (line  46)
2176 * magit-snapshot-worktree:               Stashing.            (line  51)
2177 * magit-stage:                           Staging and Unstaging.
2178                                                               (line  28)
2179 * magit-stage-file:                      Staging from File-Visiting Buffers.
2180                                                               (line  10)
2181 * magit-stage-file <1>:                  Minor Mode for Buffers Visiting Files.
2182                                                               (line  24)
2183 * magit-stage-modified:                  Staging and Unstaging.
2184                                                               (line  36)
2185 * magit-stash-apply:                     Stashing.            (line  58)
2186 * magit-stash-both:                      Stashing.            (line  13)
2187 * magit-stash-branch:                    Stashing.            (line  80)
2188 * magit-stash-branch-here:               Stashing.            (line  85)
2189 * magit-stash-clear:                     Stashing.            (line  95)
2190 * magit-stash-drop:                      Stashing.            (line  71)
2191 * magit-stash-format-patch:              Stashing.            (line  91)
2192 * magit-stash-index:                     Stashing.            (line  20)
2193 * magit-stash-keep-index:                Stashing.            (line  32)
2194 * magit-stash-list:                      Stashing.            (line  99)
2195 * magit-stash-pop:                       Stashing.            (line  64)
2196 * magit-stash-popup:                     Stashing.            (line   8)
2197 * magit-stash-show:                      Diffing.             (line  72)
2198 * magit-stash-show <1>:                  Stashing.            (line  76)
2199 * magit-stash-worktree:                  Stashing.            (line  25)
2200 * magit-status:                          Status Buffer.       (line  22)
2201 * magit-submodule-add:                   Submodule Popup.     (line  19)
2202 * magit-submodule-fetch:                 Fetching.            (line  42)
2203 * magit-submodule-populate:              Submodule Popup.     (line  33)
2204 * magit-submodule-popup:                 Submodule Popup.     (line   6)
2205 * magit-submodule-register:              Submodule Popup.     (line  26)
2206 * magit-submodule-synchronize:           Submodule Popup.     (line  43)
2207 * magit-submodule-unpopulate:            Submodule Popup.     (line  49)
2208 * magit-submodule-update:                Submodule Popup.     (line  38)
2209 * magit-subtree-add:                     Subtree.             (line  20)
2210 * magit-subtree-add-commit:              Subtree.             (line  24)
2211 * magit-subtree-merge:                   Subtree.             (line  28)
2212 * magit-subtree-pull:                    Subtree.             (line  32)
2213 * magit-subtree-push:                    Subtree.             (line  36)
2214 * magit-subtree-split:                   Subtree.             (line  41)
2215 * magit-tag-create:                      Tagging.             (line  13)
2216 * magit-tag-delete:                      Tagging.             (line  18)
2217 * magit-tag-popup:                       Tagging.             (line   8)
2218 * magit-tag-prune:                       Tagging.             (line  24)
2219 * magit-tag-release:                     Tagging.             (line  28)
2220 * magit-toggle-buffer-lock:              Modes and Buffers.   (line  17)
2221 * magit-toggle-margin:                   Refreshing Logs.     (line  36)
2222 * magit-toggle-margin <1>:               Log Margin.          (line  56)
2223 * magit-toggle-margin-details:           Log Margin.          (line  64)
2224 * magit-tree-popup:                      Subtree.             (line   8)
2225 * magit-unstage:                         Staging and Unstaging.
2226                                                               (line  43)
2227 * magit-unstage-all:                     Staging and Unstaging.
2228                                                               (line  52)
2229 * magit-unstage-file:                    Staging from File-Visiting Buffers.
2230                                                               (line  18)
2231 * magit-unstage-file <1>:                Minor Mode for Buffers Visiting Files.
2232                                                               (line  28)
2233 * magit-version:                         Git Executable.      (line  17)
2234 * magit-version <1>:                     Debugging Tools.     (line  10)
2235 * magit-visit-ref:                       References Buffer.   (line 166)
2236 * magit-wip-commit:                      Wip Modes.           (line  88)
2237 * magit-wip-log:                         Wip Modes.           (line  48)
2238 * magit-wip-log-current:                 Wip Modes.           (line  57)
2239 * magit-worktree-branch:                 Worktree.            (line  17)
2240 * magit-worktree-checkout:               Worktree.            (line  13)
2241 * magit-worktree-checkout-pull-request:  Worktree.            (line  21)
2242 * magit-worktree-delete:                 Worktree.            (line  28)
2243 * magit-worktree-popup:                  Worktree.            (line   8)
2244 * magit-worktree-status:                 Worktree.            (line  33)
2245 * scroll-down:                           Diff Buffer.         (line 109)
2246 * scroll-up:                             Diff Buffer.         (line 105)
2247 * with-editor-cancel:                    Editing Commit Messages.
2248                                                               (line  24)
2249 * with-editor-cancel <1>:                Editing Rebase Sequences.
2250                                                               (line  11)
2251 * with-editor-debug:                     Debugging Tools.     (line  38)
2252 * with-editor-finish:                    Editing Commit Messages.
2253                                                               (line  19)
2254 * with-editor-finish <1>:                Editing Rebase Sequences.
2255                                                               (line   6)
2256
2257 
2258 File: magit.info,  Node: Function Index,  Next: Variable Index,  Prev: Command Index,  Up: Top
2259
2260 Appendix E Function Index
2261 *************************
2262
2263 [index]
2264 * Menu:
2265
2266 * auto-revert-mode:                      Automatic Reverting of File-Visiting Buffers.
2267                                                               (line  62)
2268 * git-commit-check-style-conventions:    Editing Commit Messages.
2269                                                               (line 247)
2270 * git-commit-propertize-diff:            Editing Commit Messages.
2271                                                               (line 206)
2272 * git-commit-save-message:               Editing Commit Messages.
2273                                                               (line 187)
2274 * git-commit-setup-changelog-support:    Editing Commit Messages.
2275                                                               (line 191)
2276 * git-commit-turn-on-auto-fill:          Editing Commit Messages.
2277                                                               (line 196)
2278 * git-commit-turn-on-flyspell:           Editing Commit Messages.
2279                                                               (line 201)
2280 * ido-enter-magit-status:                Status Buffer.       (line  47)
2281 * magit-add-section-hook:                Section Hooks.       (line  20)
2282 * magit-after-save-refresh-status:       Automatic Refreshing of Magit Buffers.
2283                                                               (line  56)
2284 * magit-blame-addition:                  Blaming.             (line  17)
2285 * magit-blame-echo:                      Blaming.             (line  32)
2286 * magit-blame-removal:                   Blaming.             (line  38)
2287 * magit-blame-reverse:                   Blaming.             (line  46)
2288 * magit-branch-config-popup:             The Branch Config Popup.
2289                                                               (line   6)
2290 * magit-branch-or-checkout:              The Branch Popup.    (line 350)
2291 * magit-branch-orphan:                   The Branch Popup.    (line 345)
2292 * magit-branch-shelve:                   Auxiliary Branch Commands.
2293                                                               (line   8)
2294 * magit-branch-unshelve:                 Auxiliary Branch Commands.
2295                                                               (line  19)
2296 * magit-builtin-completing-read:         Support for Completion Frameworks.
2297                                                               (line  42)
2298 * magit-call-git:                        Calling Git for Effect.
2299                                                               (line  28)
2300 * magit-call-process:                    Calling Git for Effect.
2301                                                               (line  32)
2302 * magit-cancel-section:                  Creating Sections.   (line  71)
2303 * magit-completing-read:                 Support for Completion Frameworks.
2304                                                               (line  60)
2305 * magit-current-section:                 Section Selection.   (line   6)
2306 * magit-define-section-jumper:           Creating Sections.   (line  77)
2307 * magit-diff-scope:                      Matching Sections.   (line 118)
2308 * magit-diff-type:                       Matching Sections.   (line  95)
2309 * magit-diff-visit-file-other-window:    Diff Buffer.         (line  65)
2310 * magit-display-buffer:                  Switching Buffers.   (line   6)
2311 * magit-display-buffer-fullcolumn-most-v1: Switching Buffers. (line  72)
2312 * magit-display-buffer-fullframe-status-topleft-v1: Switching Buffers.
2313                                                               (line  62)
2314 * magit-display-buffer-fullframe-status-v1: Switching Buffers.
2315                                                               (line  56)
2316 * magit-display-buffer-same-window-except-diff-v1: Switching Buffers.
2317                                                               (line  50)
2318 * magit-display-buffer-traditional:      Switching Buffers.   (line  42)
2319 * magit-file-checkout:                   Minor Mode for Buffers Visiting Files.
2320                                                               (line 131)
2321 * magit-file-delete:                     Minor Mode for Buffers Visiting Files.
2322                                                               (line 123)
2323 * magit-file-rename:                     Minor Mode for Buffers Visiting Files.
2324                                                               (line 119)
2325 * magit-file-untrack:                    Minor Mode for Buffers Visiting Files.
2326                                                               (line 127)
2327 * magit-generate-buffer-name-default-function: Naming Buffers.
2328                                                               (line  17)
2329 * magit-get-section:                     Matching Sections.   (line  16)
2330 * magit-git:                             Calling Git for Effect.
2331                                                               (line  65)
2332 * magit-git-exit-code:                   Getting a Value from Git.
2333                                                               (line  10)
2334 * magit-git-failure:                     Getting a Value from Git.
2335                                                               (line  19)
2336 * magit-git-false:                       Getting a Value from Git.
2337                                                               (line  29)
2338 * magit-git-insert:                      Getting a Value from Git.
2339                                                               (line  34)
2340 * magit-git-items:                       Getting a Value from Git.
2341                                                               (line  49)
2342 * magit-git-lines:                       Getting a Value from Git.
2343                                                               (line  44)
2344 * magit-git-str:                         Getting a Value from Git.
2345                                                               (line  72)
2346 * magit-git-string:                      Getting a Value from Git.
2347                                                               (line  38)
2348 * magit-git-success:                     Getting a Value from Git.
2349                                                               (line  14)
2350 * magit-git-true:                        Getting a Value from Git.
2351                                                               (line  24)
2352 * magit-git-wash:                        Calling Git for Effect.
2353                                                               (line  70)
2354 * magit-hunk-set-window-start:           Section Movement.    (line  43)
2355 * magit-ido-completing-read:             Support for Completion Frameworks.
2356                                                               (line  48)
2357 * magit-insert-am-sequence:              Status Sections.     (line  28)
2358 * magit-insert-bisect-log:               Status Sections.     (line  46)
2359 * magit-insert-bisect-output:            Status Sections.     (line  38)
2360 * magit-insert-bisect-rest:              Status Sections.     (line  42)
2361 * magit-insert-diff-filter-header:       Status Header Sections.
2362                                                               (line  38)
2363 * magit-insert-error-header:             Status Header Sections.
2364                                                               (line  28)
2365 * magit-insert-head-branch-header:       Status Header Sections.
2366                                                               (line  42)
2367 * magit-insert-heading:                  Creating Sections.   (line  42)
2368 * magit-insert-ignored-files:            Status Sections.     (line 100)
2369 * magit-insert-local-branches:           References Sections. (line  17)
2370 * magit-insert-merge-log:                Status Sections.     (line  18)
2371 * magit-insert-modules:                  Status Module Sections.
2372                                                               (line  12)
2373 * magit-insert-modules-overview:         Status Module Sections.
2374                                                               (line  33)
2375 * magit-insert-modules-unpulled-from-pushremote: Status Module Sections.
2376                                                               (line  50)
2377 * magit-insert-modules-unpulled-from-upstream: Status Module Sections.
2378                                                               (line  44)
2379 * magit-insert-modules-unpushed-to-pushremote: Status Module Sections.
2380                                                               (line  62)
2381 * magit-insert-modules-unpushed-to-upstream: Status Module Sections.
2382                                                               (line  56)
2383 * magit-insert-push-branch-header:       Status Header Sections.
2384                                                               (line  51)
2385 * magit-insert-rebase-sequence:          Status Sections.     (line  23)
2386 * magit-insert-recent-commits:           Status Sections.     (line 115)
2387 * magit-insert-remote-branches:          References Sections. (line  21)
2388 * magit-insert-remote-header:            Status Header Sections.
2389                                                               (line  67)
2390 * magit-insert-repo-header:              Status Header Sections.
2391                                                               (line  63)
2392 * magit-insert-section:                  Creating Sections.   (line   6)
2393 * magit-insert-sequencer-sequence:       Status Sections.     (line  33)
2394 * magit-insert-staged-changes:           Status Sections.     (line  63)
2395 * magit-insert-stashes:                  Status Sections.     (line  67)
2396 * magit-insert-status-headers:           Status Header Sections.
2397                                                               (line  12)
2398 * magit-insert-submodules:               Listing Submodules.  (line  35)
2399 * magit-insert-tags:                     References Sections. (line  25)
2400 * magit-insert-tags-header:              Status Header Sections.
2401                                                               (line  56)
2402 * magit-insert-tracked-files:            Status Sections.     (line  96)
2403 * magit-insert-unpulled-cherries:        Status Sections.     (line 126)
2404 * magit-insert-unpulled-from-pushremote: Status Sections.     (line  79)
2405 * magit-insert-unpulled-from-upstream:   Status Sections.     (line  74)
2406 * magit-insert-unpulled-or-recent-commits: Status Sections.   (line 108)
2407 * magit-insert-unpushed-cherries:        Status Sections.     (line 133)
2408 * magit-insert-unpushed-to-pushremote:   Status Sections.     (line  89)
2409 * magit-insert-unpushed-to-upstream:     Status Sections.     (line  84)
2410 * magit-insert-unstaged-changes:         Status Sections.     (line  59)
2411 * magit-insert-untracked-files:          Status Sections.     (line  50)
2412 * magit-insert-upstream-branch-header:   Status Header Sections.
2413                                                               (line  46)
2414 * magit-insert-user-header:              Status Header Sections.
2415                                                               (line  75)
2416 * magit-list-repositories:               Repository List.     (line   6)
2417 * magit-list-submodules:                 Listing Submodules.  (line  13)
2418 * magit-log-maybe-show-more-commits:     Section Movement.    (line  57)
2419 * magit-log-maybe-update-blob-buffer:    Section Movement.    (line  71)
2420 * magit-log-maybe-update-revision-buffer: Section Movement.   (line  64)
2421 * magit-maybe-set-dedicated:             Switching Buffers.   (line  97)
2422 * magit-mode-display-buffer:             Refreshing Buffers.  (line  33)
2423 * magit-mode-quit-window:                Quitting Windows.    (line  31)
2424 * magit-mode-setup:                      Refreshing Buffers.  (line  17)
2425 * magit-push-implicitly:                 Pushing.             (line  73)
2426 * magit-push-to-remote:                  Pushing.             (line  84)
2427 * magit-region-sections:                 Section Selection.   (line  10)
2428 * magit-region-values:                   Section Selection.   (line  37)
2429 * magit-remote-config-popup:             The Remote Config Popup.
2430                                                               (line   6)
2431 * magit-repolist-column-ident:           Repository List.     (line  30)
2432 * magit-repolist-column-path:            Repository List.     (line  35)
2433 * magit-repolist-column-unpulled-from-pushremote: Repository List.
2434                                                               (line  49)
2435 * magit-repolist-column-unpulled-from-upstream: Repository List.
2436                                                               (line  44)
2437 * magit-repolist-column-unpushed-to-pushremote: Repository List.
2438                                                               (line  59)
2439 * magit-repolist-column-unpushed-to-upstream: Repository List.
2440                                                               (line  54)
2441 * magit-repolist-column-version:         Repository List.     (line  39)
2442 * magit-restore-window-configuration:    Quitting Windows.    (line  20)
2443 * magit-revert-buffers:                  Editing Commit Messages.
2444                                                               (line 178)
2445 * magit-run-git:                         Calling Git for Effect.
2446                                                               (line  36)
2447 * magit-run-git-async:                   Calling Git for Effect.
2448                                                               (line  80)
2449 * magit-run-git-with-editor:             Calling Git for Effect.
2450                                                               (line  93)
2451 * magit-run-git-with-input:              Calling Git for Effect.
2452                                                               (line  40)
2453 * magit-run-git-with-logfile:            Calling Git for Effect.
2454                                                               (line  56)
2455 * magit-save-window-configuration:       Switching Buffers.   (line  86)
2456 * magit-section-case:                    Matching Sections.   (line  71)
2457 * magit-section-hide:                    Section Visibility.  (line  49)
2458 * magit-section-hide-children:           Section Visibility.  (line  64)
2459 * magit-section-ident:                   Matching Sections.   (line  11)
2460 * magit-section-match:                   Matching Sections.   (line  21)
2461 * magit-section-set-window-start:        Section Movement.    (line  50)
2462 * magit-section-show:                    Section Visibility.  (line  45)
2463 * magit-section-show-children:           Section Visibility.  (line  58)
2464 * magit-section-show-headings:           Section Visibility.  (line  53)
2465 * magit-section-toggle-children:         Section Visibility.  (line  68)
2466 * magit-section-value-if:                Matching Sections.   (line  61)
2467 * magit-start-git:                       Calling Git for Effect.
2468                                                               (line 105)
2469 * magit-start-process:                   Calling Git for Effect.
2470                                                               (line 124)
2471 * magit-status-maybe-update-blob-buffer: Section Movement.    (line  83)
2472 * magit-status-maybe-update-revision-buffer: Section Movement.
2473                                                               (line  77)
2474 * magit-tag-release:                     Tagging.             (line  28)
2475 * magit-wip-log:                         Wip Modes.           (line  48)
2476 * magit-wip-log-current:                 Wip Modes.           (line  57)
2477 * with-editor-usage-message:             Editing Commit Messages.
2478                                                               (line 215)
2479
2480 
2481 File: magit.info,  Node: Variable Index,  Prev: Function Index,  Up: Top
2482
2483 Appendix F Variable Index
2484 *************************
2485
2486 [index]
2487 * Menu:
2488
2489 * auto-revert-buffer-list-filter:        Automatic Reverting of File-Visiting Buffers.
2490                                                               (line  81)
2491 * auto-revert-interval:                  Automatic Reverting of File-Visiting Buffers.
2492                                                               (line  76)
2493 * auto-revert-stop-on-user-input:        Automatic Reverting of File-Visiting Buffers.
2494                                                               (line  71)
2495 * auto-revert-use-notify:                Automatic Reverting of File-Visiting Buffers.
2496                                                               (line  49)
2497 * auto-revert-verbose:                   Automatic Reverting of File-Visiting Buffers.
2498                                                               (line 103)
2499 * branch.autoSetupMerge:                 The Branch Config Popup.
2500                                                               (line  94)
2501 * branch.autoSetupRebase:                The Branch Config Popup.
2502                                                               (line 111)
2503 * branch.NAME.description:               The Branch Config Popup.
2504                                                               (line  61)
2505 * branch.NAME.merge:                     The Branch Config Popup.
2506                                                               (line  23)
2507 * branch.NAME.pushRemote:                The Branch Config Popup.
2508                                                               (line  47)
2509 * branch.NAME.rebase:                    The Branch Config Popup.
2510                                                               (line  35)
2511 * branch.NAME.remote:                    The Branch Config Popup.
2512                                                               (line  29)
2513 * core.notesRef:                         Notes.               (line  59)
2514 * git-commit-fill-column:                Editing Commit Messages.
2515                                                               (line 228)
2516 * git-commit-finish-query-functions:     Editing Commit Messages.
2517                                                               (line 233)
2518 * git-commit-known-pseudo-headers:       Editing Commit Messages.
2519                                                               (line 124)
2520 * git-commit-major-mode:                 Editing Commit Messages.
2521                                                               (line 163)
2522 * git-commit-setup-hook:                 Editing Commit Messages.
2523                                                               (line 174)
2524 * git-commit-summary-max-length:         Editing Commit Messages.
2525                                                               (line 222)
2526 * git-rebase-auto-advance:               Editing Rebase Sequences.
2527                                                               (line  94)
2528 * git-rebase-confirm-cancel:             Editing Rebase Sequences.
2529                                                               (line 102)
2530 * git-rebase-show-instructions:          Editing Rebase Sequences.
2531                                                               (line  98)
2532 * global-auto-revert-mode:               Automatic Reverting of File-Visiting Buffers.
2533                                                               (line  22)
2534 * magit-auto-revert-immediately:         Automatic Reverting of File-Visiting Buffers.
2535                                                               (line  32)
2536 * magit-auto-revert-mode:                Automatic Reverting of File-Visiting Buffers.
2537                                                               (line  17)
2538 * magit-auto-revert-tracked-only:        Automatic Reverting of File-Visiting Buffers.
2539                                                               (line  55)
2540 * magit-bisect-show-graph:               Bisecting.           (line  55)
2541 * magit-blame-disable-modes:             Blaming.             (line 150)
2542 * magit-blame-echo-style:                Blaming.             (line 133)
2543 * magit-blame-goto-chunk-hook:           Blaming.             (line 156)
2544 * magit-blame-read-only:                 Blaming.             (line 145)
2545 * magit-blame-styles:                    Blaming.             (line 128)
2546 * magit-blame-time-format:               Blaming.             (line 140)
2547 * magit-branch-adjust-remote-upstream-alist: The Branch Popup.
2548                                                               (line 303)
2549 * magit-branch-popup-show-variables:     The Branch Popup.    (line  21)
2550 * magit-branch-prefer-remote-upstream:   The Branch Popup.    (line 258)
2551 * magit-branch-read-upstream-first:      The Branch Popup.    (line 252)
2552 * magit-buffer-name-format:              Naming Buffers.      (line  27)
2553 * magit-bury-buffer-function:            Quitting Windows.    (line  11)
2554 * magit-cherry-margin:                   Cherries.            (line  22)
2555 * magit-clone-set-remote.pushDefault:    Repository Setup.    (line  23)
2556 * magit-commit-ask-to-stage:             Initiating a Commit. (line  74)
2557 * magit-commit-extend-override-date:     Initiating a Commit. (line  79)
2558 * magit-commit-reword-override-date:     Initiating a Commit. (line  83)
2559 * magit-commit-squash-confirm:           Initiating a Commit. (line  87)
2560 * magit-completing-read-function:        Support for Completion Frameworks.
2561                                                               (line  27)
2562 * magit-diff-adjust-tab-width:           Diff Options.        (line  16)
2563 * magit-diff-buffer-file-locked:         Minor Mode for Buffers Visiting Files.
2564                                                               (line  52)
2565 * magit-diff-hide-trailing-cr-characters: Diff Options.       (line  67)
2566 * magit-diff-highlight-hunk-region-functions: Diff Options.   (line  71)
2567 * magit-diff-highlight-indentation:      Diff Options.        (line  52)
2568 * magit-diff-highlight-trailing:         Diff Options.        (line  47)
2569 * magit-diff-paint-whitespace:           Diff Options.        (line  38)
2570 * magit-diff-refine-hunk:                Diff Options.        (line   6)
2571 * magit-diff-unmarked-lines-keep-foreground: Diff Options.    (line  97)
2572 * magit-diff-visit-previous-blob:        Diff Buffer.         (line  37)
2573 * magit-display-buffer-function:         Switching Buffers.   (line  23)
2574 * magit-display-buffer-noselect:         Switching Buffers.   (line  14)
2575 * magit-dwim-selection:                  Completion and Confirmation.
2576                                                               (line  42)
2577 * magit-ediff-dwim-show-on-hunks:        Ediffing.            (line  73)
2578 * magit-ediff-quit-hook:                 Ediffing.            (line  88)
2579 * magit-ediff-show-stash-with-index:     Ediffing.            (line  81)
2580 * magit-file-mode:                       Minor Mode for Buffers Visiting Files.
2581                                                               (line  11)
2582 * magit-generate-buffer-name-function:   Naming Buffers.      (line   6)
2583 * magit-git-debug:                       Viewing Git Output.  (line  28)
2584 * magit-git-debug <1>:                   Getting a Value from Git.
2585                                                               (line  64)
2586 * magit-git-executable:                  Git Executable.      (line  39)
2587 * magit-git-global-arguments:            Global Git Arguments.
2588                                                               (line   6)
2589 * magit-keep-region-overlay:             The Selection.       (line  52)
2590 * magit-list-refs-sortby:                Additional Completion Options.
2591                                                               (line   6)
2592 * magit-log-auto-more:                   Log Buffer.          (line  67)
2593 * magit-log-buffer-file-locked:          Minor Mode for Buffers Visiting Files.
2594                                                               (line  75)
2595 * magit-log-margin:                      Log Margin.          (line  12)
2596 * magit-log-section-args:                Status Options.      (line  36)
2597 * magit-log-section-commit-count:        Status Sections.     (line 120)
2598 * magit-log-select-margin:               Select from Log.     (line  30)
2599 * magit-log-show-refname-after-summary:  Log Buffer.          (line  73)
2600 * magit-log-trace-definition-function:   Diff Buffer.         (line  74)
2601 * magit-module-sections-hook:            Status Module Sections.
2602                                                               (line  20)
2603 * magit-module-sections-nested:          Status Module Sections.
2604                                                               (line  24)
2605 * magit-no-confirm:                      Action Confirmation. (line  18)
2606 * magit-pop-revision-stack-format:       Editing Commit Messages.
2607                                                               (line  92)
2608 * magit-post-display-buffer-hook:        Switching Buffers.   (line  92)
2609 * magit-pre-display-buffer-hook:         Switching Buffers.   (line  81)
2610 * magit-prefer-remote-upstream:          The Branch Config Popup.
2611                                                               (line 139)
2612 * magit-process-raise-error:             Calling Git for Effect.
2613                                                               (line 151)
2614 * magit-push-current-set-remote-if-missing: Pushing.          (line  96)
2615 * magit-reflog-margin:                   Reflog.              (line  23)
2616 * magit-refresh-args:                    Refreshing Buffers.  (line  55)
2617 * magit-refresh-buffer-hook:             Automatic Refreshing of Magit Buffers.
2618                                                               (line  40)
2619 * magit-refresh-function:                Refreshing Buffers.  (line  49)
2620 * magit-refresh-status-buffer:           Automatic Refreshing of Magit Buffers.
2621                                                               (line  46)
2622 * magit-refs-filter-alist:               References Buffer.   (line 149)
2623 * magit-refs-focus-column-width:         References Buffer.   (line  74)
2624 * magit-refs-margin:                     References Buffer.   (line  89)
2625 * magit-refs-margin-for-tags:            References Buffer.   (line 115)
2626 * magit-refs-pad-commit-counts:          References Buffer.   (line  41)
2627 * magit-refs-primary-column-width:       References Buffer.   (line  61)
2628 * magit-refs-sections-hook:              References Sections. (line  13)
2629 * magit-refs-show-commit-count:          References Buffer.   (line  29)
2630 * magit-refs-show-remote-prefix:         References Buffer.   (line  54)
2631 * magit-remote-add-set-remote.pushDefault: The Remote Popup.  (line  77)
2632 * magit-remote-popup-show-variables:     The Remote Popup.    (line  18)
2633 * magit-repolist-columns:                Repository List.     (line  14)
2634 * magit-repository-directories:          Status Buffer.       (line  30)
2635 * magit-repository-directories-depth:    Status Buffer.       (line  40)
2636 * magit-revision-insert-related-refs:    Revision Buffer.     (line   6)
2637 * magit-revision-show-gravatars:         Revision Buffer.     (line  19)
2638 * magit-revision-use-hash-sections:      Revision Buffer.     (line  36)
2639 * magit-root-section:                    Matching Sections.   (line  87)
2640 * magit-save-repository-buffers:         Automatic Saving of File-Visiting Buffers.
2641                                                               (line  13)
2642 * magit-section-cache-visibility:        Section Visibility.  (line  95)
2643 * magit-section-initial-visibility-alist: Section Visibility. (line  78)
2644 * magit-section-movement-hook:           Section Movement.    (line  38)
2645 * magit-section-set-visibility-hook:     Section Visibility.  (line 106)
2646 * magit-section-show-child-count:        Section Options.     (line   9)
2647 * magit-shell-command-verbose-prompt:    Running Git Manually.
2648                                                               (line  46)
2649 * magit-stashes-margin:                  Stashing.            (line 103)
2650 * magit-status-headers-hook:             Status Header Sections.
2651                                                               (line  18)
2652 * magit-status-margin:                   Status Options.      (line  10)
2653 * magit-status-refresh-hook:             Status Options.      (line   6)
2654 * magit-status-sections-hook:            Status Sections.     (line  10)
2655 * magit-submodule-list-columns:          Listing Submodules.  (line  21)
2656 * magit-this-process:                    Calling Git for Effect.
2657                                                               (line 146)
2658 * magit-uniquify-buffer-names:           Naming Buffers.      (line  74)
2659 * magit-unstage-committed:               Staging and Unstaging.
2660                                                               (line  56)
2661 * magit-update-other-window-delay:       Section Movement.    (line  89)
2662 * magit-use-sticky-arguments:            Popup Buffers and Prefix Commands.
2663                                                               (line  36)
2664 * magit-visit-ref-behavior:              References Buffer.   (line 177)
2665 * magit-wip-after-apply-mode:            Legacy Wip Modes.    (line  19)
2666 * magit-wip-after-apply-mode-lighter:    Legacy Wip Modes.    (line  59)
2667 * magit-wip-after-save-local-mode-lighter: Legacy Wip Modes.  (line  55)
2668 * magit-wip-after-save-mode:             Legacy Wip Modes.    (line  13)
2669 * magit-wip-before-change-mode:          Legacy Wip Modes.    (line  33)
2670 * magit-wip-before-change-mode-lighter:  Legacy Wip Modes.    (line  63)
2671 * magit-wip-initial-backup-mode:         Legacy Wip Modes.    (line  38)
2672 * magit-wip-initial-backup-mode-lighter: Legacy Wip Modes.    (line  67)
2673 * magit-wip-merge-branch:                Wip Graph.           (line   6)
2674 * magit-wip-mode:                        Wip Modes.           (line  30)
2675 * magit-wip-mode-lighter:                Wip Modes.           (line 104)
2676 * magit-wip-namespace:                   Wip Modes.           (line  96)
2677 * notes.displayRef:                      Notes.               (line  64)
2678 * pull.rebase:                           The Branch Config Popup.
2679                                                               (line  70)
2680 * remote.NAME.fetch:                     The Remote Config Popup.
2681                                                               (line  25)
2682 * remote.NAME.push:                      The Remote Config Popup.
2683                                                               (line  36)
2684 * remote.NAME.pushurl:                   The Remote Config Popup.
2685                                                               (line  30)
2686 * remote.NAME.tagOpts:                   The Remote Config Popup.
2687                                                               (line  41)
2688 * remote.NAME.url:                       The Remote Config Popup.
2689                                                               (line  20)
2690 * remote.pushDefault:                    The Branch Config Popup.
2691                                                               (line  84)
2692