]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'nd/init-relative-template-fix'
authorJunio C Hamano <gitster@pobox.com>
Thu, 13 Jun 2019 20:18:46 +0000 (13:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Jun 2019 20:18:46 +0000 (13:18 -0700)
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

1  2 
builtin/init-db.c
t/t0001-init.sh

Simple merge
diff --cc t/t0001-init.sh
Simple merge