Skip to content

Commit 3d6c868

Browse files
committed
Allow config of git sequence editor
1 parent 7d69a67 commit 3d6c868

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

default.config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ use_gpg_to_sign_commit: false
123123
git_signingkey: "{{ '~/.ssh/id_ed25519.pub' | expanduser }}"
124124
git_gpg_format: ssh
125125

126+
git_sequence_editor: ~
127+
126128
#########
127129
# PHP #
128130
#########

roles/git/templates/gitconfig.j2

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,8 @@
4545
[gpg]
4646
program = {{ brew_prefix }}/bin/gpg
4747
format = {{ git_gpg_format }}
48-
{% endif %}
48+
{% endif %}
49+
{% if git_sequence_editor|default(false) %}
50+
[sequence]
51+
editor = {{ git_sequence_editor }}
52+
{% endif %}

0 commit comments

Comments
 (0)