X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Flib-core;h=d65a1ffeccadcde3e9b9268f35be39620e4221fe;hb=63911b5d576e7250c132d117c53e66aaf34b7f47;hp=cbfda462382fb303fb4f8ad7120c52d998df8b45;hpb=254a2c58e582e4536ef7a8feada775139e7ca9d5;p=dgit.git diff --git a/tests/lib-core b/tests/lib-core index cbfda462..d65a1ffe 100644 --- a/tests/lib-core +++ b/tests/lib-core @@ -24,10 +24,11 @@ t-set-using-tmp () { export GNUPGHOME=$tmp/nonexistent git config --global user.email 'dgit-test@debian.example.net' git config --global user.name 'dgit test git user' + git config --global protocol.ext.allow always } t-filter-out-git-hyphen-dir () { - local pathent=$(type -p git-rev-parse ||:) + local pathent; pathent=$(type -p git-rev-parse ||:) case "$pathent" in '') return ;; esac pathent=${pathent%/*} local path=":$PATH:"