]> git.ipfire.org Git - thirdparty/git.git/commit
t5710: simplify 'mkdir X' followed by 'git -C X init'
authorChristian Couder <christian.couder@gmail.com>
Wed, 27 May 2026 14:08:13 +0000 (16:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2026 20:20:14 +0000 (05:20 +0900)
commit4ed1ffe680d1ad0fe7436c9816262b6abb518629
treed64f35f68f23300d89effdd70ee1cfd933587968
parent56a4f3c3a221adf1df9b39da69b8a6890f803157
t5710: simplify 'mkdir X' followed by 'git -C X init'

It's simpler and more efficient to just use `git init client` instead
of `mkdir client && git -C client init`.

So let's replace the latter with the former.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5710-promisor-remote-capability.sh