diff options
| author | Jeff King <peff@peff.net> | 2025-07-25 01:13:09 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-07-29 08:07:42 -0700 |
| commit | c26ecaf069080c6f9f98925530394a5b4c53e325 (patch) | |
| tree | 99decf824ed2d289db73212258b1b3b87d82b4a6 /t/t7501-commit-basic-functionality.sh | |
| parent | 26ef8872f1ccb095ef7d263edac1e844d6516bfd (diff) | |
| download | git-c26ecaf069080c6f9f98925530394a5b4c53e325.tar.gz | |
t7510: use $PWD instead of $(pwd) inside PATH
On Windows, $(pwd) will give us a Windows-style path like "D:/foo".
Putting that into $PATH confuses anybody parsing that variable, since
colon is a separator character in $PATH. Instead, we should use the
Unix-style value we get from $PWD ("/d/foo").
This is similar to the cases fixed by 71dd50472d (t0021, t5615: use $PWD
instead of $(pwd) in PATH-like shell variables, 2016-11-11).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7501-commit-basic-functionality.sh')
0 files changed, 0 insertions, 0 deletions
