]> git.99rst.org Git - git.git/commit
t0033-safe-directory: check when 'safe.directory' is ignored
authorSZEDER Gábor <redacted>
Wed, 27 Apr 2022 17:06:48 +0000 (19:06 +0200)
committerJunio C Hamano <redacted>
Wed, 27 Apr 2022 20:30:55 +0000 (13:30 -0700)
commit424f315d9f15338ee950f343e01becd6f087121b
tree9ea0a5eda3dfb2de376e61e7a457eb6745c0823e
parentf62563988fefed73d795cfaeae203421b784c334
t0033-safe-directory: check when 'safe.directory' is ignored

According to the documentation 'safe.directory' "is only respected
when specified in a system or global config, not when it is specified
in a repository config or via the command line option -c
safe.directory=<path>".

Add tests to check that 'safe.directory' in the repository config or
on the command line is indeed ignored.

Signed-off-by: SZEDER Gábor <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t0033-safe-directory.sh
git clone https://git.99rst.org/PROJECT