{"thread":{"id":"54162","subject":"[PATCH] doc: mention GIT_SEQUENCE_EDITOR and 'sequence.editor' more","startedAt":"2020-08-31T03:40:14Z","lastAt":"2020-08-31T03:40:14Z","messageCount":1,"participants":["Philippe Blain via GitGitGadget"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"404780","messageId":"pull.716.git.1598845209155.gitgitgadget@gmail.com","threadId":"54162","inReplyTo":null,"subject":"[PATCH] doc: mention GIT_SEQUENCE_EDITOR and 'sequence.editor' more","fromName":"Philippe Blain via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2020-08-31T03:40:08Z","receivedAt":"2020-08-31T03:40:14Z","isPatch":true,"sender":{"key":"levraiphilippeblain@gmail.com","avatar":"https://avatars.githubusercontent.com/u/44212482?v=4"},"body":"From: Philippe Blain <levraiphilippeblain@gmail.com>\n\nThe environment variable `GIT_SEQUENCE_EDITOR`, and the configuration\nvariable 'sequence.editor', which were added in 821881d88d (\"rebase -i\":\nsupport special-purpose editor to edit insn sheet, 2011-10-17), are\nmentioned in the `git config` man page but not anywhere else.\n\nInclude `config/sequencer.txt` in `git-rebase.txt`, so that both the\nenvironment variable and the configuration setting are mentioned there.\n\nAlso, add `GIT_SEQUENCE_EDITOR` to the list of environment variables\nin `git(1)`.\n\nSigned-off-by: Philippe Blain <levraiphilippeblain@gmail.com>\n---\n    doc: mention GIT_SEQUENCE_EDITOR and 'sequence.editor' more\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-716%2Fphil-blain%2Fdoc-mention-sequence-editor-v1\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-716/phil-blain/doc-mention-sequence-editor-v1\nPull-Request: https://github.com/gitgitgadget/git/pull/716\n\n Documentation/git-rebase.txt | 1 +\n Documentation/git.txt        | 6 ++++++\n 2 files changed, 7 insertions(+)\n\ndiff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt\nindex 374d2486f7..9e2f9576c3 100644\n--- a/Documentation/git-rebase.txt\n+++ b/Documentation/git-rebase.txt\n@@ -204,6 +204,7 @@ CONFIGURATION\n -------------\n \n include::config/rebase.txt[]\n+include::config/sequencer.txt[]\n \n OPTIONS\n -------\ndiff --git a/Documentation/git.txt b/Documentation/git.txt\nindex 2fc92586b5..0bb1cfb239 100644\n--- a/Documentation/git.txt\n+++ b/Documentation/git.txt\n@@ -605,6 +605,12 @@ other\n \tan editor is to be launched. See also linkgit:git-var[1]\n \tand the `core.editor` option in linkgit:git-config[1].\n \n+`GIT_SEQUENCE_EDITOR`::\n+\tThis environment variable overrides the configured Git editor\n+\twhen editing the todo list of an interactive rebase. See also\n+\tlinkit::git-rebase[1] and the `sequence.editor` option in\n+\tlinkit::git-config[1].\n+\n `GIT_SSH`::\n `GIT_SSH_COMMAND`::\n \tIf either of these environment variables is set then 'git fetch'\n\nbase-commit: d9cd4331470f4d9d78677f12dc79063dab832f53\n-- \ngitgitgadget\n"}]}