[Qt-creator] msysGit fetch problem

André Hartmann andre.hartmann at iseg-hv.de
Thu May 16 09:28:51 CEST 2013


Hello List (especially Git experts),

I have a problem with Qt Creator 2.7.0 under Windows 7 64 Bit and Git 
1.8.1.msysgit.1.

When accessing our local Gerrit server with the Gerrit Dialog, Creator 
hangs on  "Apply" at the following command:

09:08 Executing in X:\S12X\KernelLibrary: C:\Program Files 
(x86)\Git\bin\git.exe fetch 
ssh://jr@gerrit.iseg.local:29418/KernelLibrary refs/changes/70/70/9

trace: built-in: git 'fetch' 
'ssh://jr@gerrit.iseg.local:29418/KernelLibrary' 'refs/changes/70/70/9'

trace: run_command: 'ssh' '-p' '29418' 'jr at gerrit.iseg.local' 
'git-upload-pack '\''/KernelLibrary'\'''

It seems ssh can't find the correct key, although the Options checkbox 
"Set HOME" is set.

On the Windows Command Line with HOME manualy set it works:

X:\S12X\KernelLibrary>"C:\Program Files (x86)"\Git\bin\git.exe fetch 
http://gerrit.iseg.local/KernelLibrary refs/changes/68/68/1
trace: built-in: git 'fetch' 'http://gerrit.iseg.local/KernelLibrary' 
'refs/chan
ges/68/68/1'
trace: run_command: 'git-remote-http' 
'http://gerrit.iseg.local/KernelLibrary' '
http://gerrit.iseg.local/KernelLibrary'
trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all' 
'--quiet'
trace: run_command: 'fetch-pack' '--stateless-rpc' '--stdin' 
'--lock-pack' '--th
in' 'http://gerrit.iseg.local/KernelLibrary/'
trace: built-in: git 'fetch-pack' '--stateless-rpc' '--stdin' 
'--lock-pack' '--t
hin' 'http://gerrit.iseg.local/KernelLibrary/'
remote: Counting objects: 21, done
remote: Finding sources: 100% (12/12)
trace: run_command: 'unpack-objects' '--pack_header=2,12'
remote: Total 12 (delta 9), reused 12 (delta 9)
trace: built-in: git 'unpack-objects' '--pack_header=2,12'
Unpacking objects: 100% (12/12), done.
trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all'
trace: built-in: git 'rev-list' '--objects' '--stdin' '--not' '--all'
 From http://gerrit.iseg.local/KernelLibrary
  * branch            refs/changes/68/68/1 -> FETCH_HEAD

More interesting, Creators Git Pull works fine:

14:31 Executing in X:\S12X\KernelLibrary: C:\Program Files 
(x86)\Git\bin\git.exe pull

 From ssh://gerrit.iseg.local:29418/KernelLibrary

5c3ed45..7c6974b master -> origin/master

Updating 5c3ed45..7c6974b

Fast-forward
[....]
24 files changed, 2522 insertions(+), 370 deletions(-)

We have at least two other systems that are working, but on this PC 
something is very strange.

Any ideas welcome.

Best regards,
Andre

PS: The Git timeout doesn't seem to work for Gerrit fetch, should I 
create a bugreport?



More information about the Qt-creator mailing list