]> git.ipfire.org Git - thirdparty/git.git/commit
scalar: add --[no-]src option
authorDerrick Stolee <derrickstolee@github.com>
Mon, 28 Aug 2023 13:52:24 +0000 (13:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Aug 2023 16:16:06 +0000 (09:16 -0700)
commit4527db8ff8c61b173e4c2533b53d34d019a6f061
treef7e25b3502efb39b575b25a0773a818bd2f0dbb5
parentfb7d80edcae482f4fa5d4be0227dc3054734e5f3
scalar: add --[no-]src option

Some users have strong aversions to Scalar's opinion that the repository
should be in a 'src' directory, even though this creates a clean slate
for placing build artifacts in adjacent directories.

The new --no-src option allows users to opt out of the default behavior.

While adding options, make sure the usage output by 'scalar clone -h'
reports the same as the SYNOPSIS line in Documentation/scalar.txt.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/scalar.txt
scalar.c
t/t9211-scalar-clone.sh