summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTim Oram <dev@mitmaro.ca>2018-07-10 13:27:40 -0230
committerTim Oram <dev@mitmaro.ca>2018-07-10 13:27:40 -0230
commit4e8e950e6fe17047feca4352652a78e793d5fe66 (patch)
treeef538fa16658fd31c7c78748a9e6a53db0ee632d /test
parent973f87a2c6845805a7e59247c08f5dc7f85c9ed1 (diff)
Add support for core.commentChar
Having the configuration option core.commentChar set to anything other than # would result in the tool being unable to read the rebase tool. This change reads the configuration value and uses it over the hard-coded value.
Diffstat (limited to 'test')
-rw-r--r--test/git-rebase-alternative-comment-character.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/git-rebase-alternative-comment-character.in b/test/git-rebase-alternative-comment-character.in
new file mode 100644
index 0000000..7892a1c
--- /dev/null
+++ b/test/git-rebase-alternative-comment-character.in
@@ -0,0 +1,4 @@
+pick aaa Added tests
+fixup bbb Added tests
+pick ccc #Added tests
+% foo bar comment