doc: mention GIT_SEQUENCE_EDITOR and 'sequence.editor' more
The environment variable `GIT_SEQUENCE_EDITOR`, and the configuration variable 'sequence.editor', which were added in 821881d88d ("rebase -i": support special-purpose editor to edit insn sheet, 2011-10-17), are mentioned in the `git config` man page but not anywhere else. Include `config/sequencer.txt` in `git-rebase.txt`, so that both the environment variable and the configuration setting are mentioned there. Also, add `GIT_SEQUENCE_EDITOR` to the list of environment variables in `git(1)`. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Philippe Blain committed
Aug 31, 2020 at 03:40 UTC
902a126eca2d46b34dab822f1a1861bc2ce3cf48
2 files changed
+7
Documentation/git-rebase.txt
+1
@@ -204,6 +204,7 @@ CONFIGURATION
204
-------------
205
206
include::config/rebase.txt[]
207
+include::config/sequencer.txt[]
208
209
OPTIONS
210
-------
Documentation/git.txt
+6
@@ -605,6 +605,12 @@ other
605
an editor is to be launched. See also linkgit:git-var[1]
606
and the `core.editor` option in linkgit:git-config[1].
607
608
+`GIT_SEQUENCE_EDITOR`::
609
+ This environment variable overrides the configured Git editor
610
+ when editing the todo list of an interactive rebase. See also
611
+ linkit::git-rebase[1] and the `sequence.editor` option in
612
+ linkit::git-config[1].
613
+
614
`GIT_SSH`::
615
`GIT_SSH_COMMAND`::
616
If either of these environment variables is set then 'git fetch'