Skip to content

Commit c2ecb1d

Browse files
Fixed git command hangs in case if no remote exists.
1 parent 3a389f5 commit c2ecb1d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • dd-java-agent/agent-ci-visibility/src/test/resources/ci/git/impacted/no_remote/git

dd-java-agent/agent-ci-visibility/src/test/resources/ci/git/impacted/no_remote/git/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
logallrefupdates = true
66
ignorecase = true
77
precomposeunicode = true
8+
sshCommand = ssh -o ConnectTimeout=2
89
[remote "origin"]
910
url = [email protected]:datadog/non_existing_repo.git
1011
fetch = +refs/heads/*:refs/remotes/origin/*

0 commit comments

Comments
 (0)