Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisd8088 committed Jan 6, 2024
1 parent 1c81ed9 commit 78bd115
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/t-path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ begin_test "does not look in current directory for git with credential helper"
git lfs track "*.dat"
printf abc > z.dat
GIT_TRACE=1 git add z.dat
sleep 5
GIT_TRACE=1 git add .gitattributes

GITPATH="$(dirname "$(command -v git)")"
Expand All @@ -54,6 +55,7 @@ begin_test "does not look in current directory for git with credential helper"
# (which contains the malicious Git), so for now we remove the malicious
# Git as soon as possible.
cp "$BINPATH/lfstest-badpathcheck$X" "git$X"
sleep 5
GODEBUG=execerrdot=0 \
GIT_TRACE=1 PATH="$BINPATH:$GITPATH:$SHELLPATH" "$GITPATH/git$X" add "git$X"
rm "git$X"
Expand Down

0 comments on commit 78bd115

Please sign in to comment.