Skip to content

Commit

Permalink
tests: disable transfer.bundleURI by default
Browse files Browse the repository at this point in the history
Summary: If `transfer.bundleURI` is true, then `git clone` from a bundle prints a spurious error message.  Ensure this is disabled by default.  We will enable it explicitly when tests need it.

Reviewed By: lmvasquezg

Differential Revision: D69594337

fbshipit-source-id: d4cc0b3f025cfb9c3dc5f9ad95d0a9d872cde949
  • Loading branch information
markbt authored and facebook-github-bot committed Feb 13, 2025
1 parent c365085 commit 309a579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eden/mononoke/tests/integration/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ function git() {
GIT_AUTHOR_DATE="${GIT_AUTHOR_DATE:-$date}" \
GIT_AUTHOR_NAME="$name" \
GIT_AUTHOR_EMAIL="$email" \
command git -c init.defaultBranch=master_bookmark -c protocol.file.allow=always "$@"
command git -c transfer.bundleURI=false -c init.defaultBranch=master_bookmark -c protocol.file.allow=always "$@"
}

function git_set_only_author() {
Expand Down

0 comments on commit 309a579

Please sign in to comment.