summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-07-31 17:46:14 -0400
committerRichard Maw <richard.maw@gmail.com>2017-08-01 12:50:32 +0100
commit366d9e9252b8c2e56368794e5cf65190aa550459 (patch)
tree3d635341282d23203c001233cbac6bc1051b5e41
parent078694c78772d8a219273c5b48a15ad991ce0ec6 (diff)
downloadgitano-366d9e9252b8c2e56368794e5cf65190aa550459.tar.gz
Allow ext protocol for test purposes
Newer versions of git block the ext:: protocol by default, so that a repository with submodules may not run arbitrary code. Whitelisting the ext:: protocol for the test users is the minimum effort required to make it work again.
-rw-r--r--testing/gitano-test-tool.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/gitano-test-tool.in b/testing/gitano-test-tool.in
index ae2ee4d..84b7148 100644
--- a/testing/gitano-test-tool.in
+++ b/testing/gitano-test-tool.in
@@ -231,6 +231,7 @@ function cmd_createunixuser(username)
cmd_setgitconfig(username, "user.name", username)
cmd_setgitconfig(username, "user.email", username.."@example.com")
cmd_setgitconfig(username, "push.default", "simple")
+ cmd_setgitconfig(username, "protocol.ext.allow", "always")
set_stored_password(username, username)
end