Skip to content

git submodule commands hang when using git through OpenSSH #5663

Open
@doctorpangloss

Description

@doctorpangloss
  1. Install the OpenSSH Server, an official Windows feature.
  2. ssh into a Windows machine.
  3. Clone this repo and update the submodules, then observe a hang:
$ git clone https://github.com/humansensinglab/Hamba.git
$ cd Hamba
$ git submodule update --init --recursive
$ GIT_TRACE=2 GIT_TRACE_PACKET=1 GIT_TRACE_PERFORMANCE=1 GIT_CURL_VERBOSE=1 GIT_SSH_COMMAND="ssh -vvv" git submodule update --init --recursive
15:03:26.148816 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
15:03:26.155620 git.c:773               trace: exec: git-submodule update --init --recursive
15:03:26.155620 run-command.c:668       trace: run_command: git-submodule update --init --recursive
15:03:26.155620 run-command.c:929       trace: start_command: git-submodule update --init --recursive
15:03:26.202630 exec-cmd.c:266          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:03:26.204471 trace.c:416             performance: 0.000005700 s: git command: 'C:\Program Files\Git\mingw64\libexec\git-core\git.exe' --exec-path

git version 2.49.0.windows.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions