We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66765a4 + 68f3c07 commit 22bb7edCopy full SHA for 22bb7ed
t/t5541-http-push-smart.sh
@@ -369,8 +369,10 @@ test_expect_success GPG 'push with post-receive to inspect certificate' '
369
'
370
371
test_expect_success 'push status output scrubs password' '
372
- test_commit scrub &&
373
- git push --porcelain "$HTTPD_URL_USER_PASS/smart/test_repo.git" >status &&
+ cd "$ROOT_PATH/test_repo_clone" &&
+ git push --porcelain \
374
+ "$HTTPD_URL_USER_PASS/smart/test_repo.git" \
375
+ +HEAD:scrub >status &&
376
# should have been scrubbed down to vanilla URL
377
grep "^To $HTTPD_URL/smart/test_repo.git" status
378
0 commit comments