summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/test_list.go
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-05-01 19:12:53 +0200
committerGitHub <noreply@github.com>2024-05-01 19:12:53 +0200
commit618fe533f8c6113392eea981d03c65e6da5860bb (patch)
treefda620709d1f60c87ed4ed72287c7a6aeff6240e /pkg/integration/tests/test_list.go
parentaf0897f18fc58ecab71c1334823887177cc8bc1f (diff)
parent01ff18dd925f68e7ebfd21b52803cf5fc05cf2d3 (diff)
Add commitPrefix for defining a prefix for any project (#3291)
- **PR Description** Adds a new option `git.comitPrefix` to act similarly to `git.commitPrefixes`, except, if defined, it applies to any repo that doesn't have an entry in `git.commitPrefixes`. - **Please check if the PR fulfills these requirements** * [x] Cheatsheets are up-to-date (run `go generate ./...`) * [x] Code has been formatted (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#code-formatting)) * [x] Tests have been added/updated (see [here](https://github.com/jesseduffield/lazygit/blob/master/pkg/integration/README.md) for the integration test guide) * [x] Text is internationalised (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#internationalisation)) * [x] Docs (specifically `docs/Config.md`) have been updated if necessary * [x] You've read through your own file changes for silly mistakes etc
Diffstat (limited to 'pkg/integration/tests/test_list.go')
-rw-r--r--pkg/integration/tests/test_list.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/integration/tests/test_list.go b/pkg/integration/tests/test_list.go
index cdbcc7871..1c94e3bbd 100644
--- a/pkg/integration/tests/test_list.go
+++ b/pkg/integration/tests/test_list.go
@@ -72,6 +72,7 @@ var tests = []*components.IntegrationTest{
commit.CommitMultiline,
commit.CommitSwitchToEditor,
commit.CommitWipWithPrefix,
+ commit.CommitWithGlobalPrefix,
commit.CommitWithPrefix,
commit.CreateAmendCommit,
commit.CreateTag,