Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-06-13 23:18:46 +0300
committerJunio C Hamano <gitster@pobox.com>2019-06-13 23:18:46 +0300
commitcf3269fba816d9b216b8b0d6e95ca6a345158de5 (patch)
tree9ce7316f6013088bd62ac092f8a5da6bb6767df8 /t/t0001-init.sh
parent86d2271f06382ceeb66e891eff87166d858270e1 (diff)
parente1df7fe43f4e2e607ed24668e2942d45df8d2743 (diff)
Merge branch 'nd/init-relative-template-fix'
A relative pathname given to "git init --template=<path> <repo>" ought to be relative to the directory "git init" gets invoked in, but it instead was made relative to the repository, which has been corrected. * nd/init-relative-template-fix: init: make --template path relative to $CWD
Diffstat (limited to 't/t0001-init.sh')
-rwxr-xr-xt/t0001-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0001-init.sh b/t/t0001-init.sh
index 77a224aafb..0276d14a0b 100755
--- a/t/t0001-init.sh
+++ b/t/t0001-init.sh
@@ -175,7 +175,7 @@ test_expect_success 'reinit' '
test_expect_success 'init with --template' '
mkdir template-source &&
echo content >template-source/file &&
- git init --template=../template-source template-custom &&
+ git init --template=template-source template-custom &&
test_cmp template-source/file template-custom/.git/file
'