Skip to content

Commit 902a126

Browse files
phil-blaingitster
authored andcommitted
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 821881d ("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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d9cd433 commit 902a126

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Documentation/git-rebase.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ CONFIGURATION
204204
-------------
205205

206206
include::config/rebase.txt[]
207+
include::config/sequencer.txt[]
207208

208209
OPTIONS
209210
-------

Documentation/git.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,12 @@ other
605605
an editor is to be launched. See also linkgit:git-var[1]
606606
and the `core.editor` option in linkgit:git-config[1].
607607

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+
608614
`GIT_SSH`::
609615
`GIT_SSH_COMMAND`::
610616
If either of these environment variables is set then 'git fetch'

0 commit comments

Comments
 (0)