summaryrefslogtreecommitdiff
path: root/changelogs/fragments/ansible-test-submodules.yml
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2019-08-29 16:31:38 -0700
committerMatt Clay <matt@mystile.com>2019-08-29 20:29:38 -0700
commit4063d58339e61f55ed9ef03cda89ef76c49a9dda (patch)
treec74c4e9ff9c5251b25db54f852fdf95b77e828bb /changelogs/fragments/ansible-test-submodules.yml
parenta7fd6e99d90d2c991aa1cc97b9fb0ba7d153bd8b (diff)
downloadansible-4063d58339e61f55ed9ef03cda89ef76c49a9dda.tar.gz
Use relative submodule status in ansible-test.
The `git submodule status` command is relative to the current git repository by default. When running from a repository subdirectory paths can be returned above the current directory. Specifying the current directory with `git submodule status` avoids listing submodules above that directory. This will fix issues when testing a collection that is rooted below the repository root when that repository uses submodules.
Diffstat (limited to 'changelogs/fragments/ansible-test-submodules.yml')
-rw-r--r--changelogs/fragments/ansible-test-submodules.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/ansible-test-submodules.yml b/changelogs/fragments/ansible-test-submodules.yml
new file mode 100644
index 0000000000..507fa7cfbb
--- /dev/null
+++ b/changelogs/fragments/ansible-test-submodules.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - ansible-test now correctly enumerates submodules when a collection resides below the repository root