Fetch and push fails with TortoiseGit but succeeds with git bash

 

Fetch and push fails with TortoiseGit but succeeds with git bash  
  4 people starred this issue and may be notified of changes. Back to list
 
Reported by [email protected]Oct 21, 2010
What steps will reproduce the problem?
1. Clone a git repository over a http protocol
2. Now change stuff, commit it and try to push it from TortoiseGit
3. Same problem if you try to fetch

What is the expected output? What do you see instead?
When pushing changes to the server I expect it pushes changes to the server, but nothing happens.

What version of the product are you using? On what operating system?
TortoiseGit 1.5.8.0 
git version 1.7.2.3.msysgit.0
WinXP

Please provide any additional information below.
If I open the task manager and kill the git.exe I see the error message:
git have not installed
After closing this error message with the Ok button the Git Command Progress window appears and it pushes the changes successfully to the server. Same problem with fetch.
If I do the same in the git bash (git push or git fetch) it works fine.

Oct 21, 2010
Project Member #1 [email protected]
Do you use sync dialog?
Oct 21, 2010
Project Member #2 [email protected]
(No comment was entered for this change.)
 
 
 
Status: Discuss 
 
 
 
Oct 21, 2010
#3 [email protected]
I do a right click in the root directory of this cloned repository and select TortoiseGit -> Fetch... or Push... then click on OK on the next window (the remote is always origin for push origin/master).

I deinstalled now the TortoiseGit 1.5.8 and installed again the 1.5.3 and there everything is fine. So the bug is new in the 1.5.8.
Oct 21, 2010
Project Member #4 [email protected]
1.5.8 just check git version by "git.exe --version" before git pull\fetch.
I don't know why hang at git.exe --version 
Oct 21, 2010
#5 [email protected]
I tested git --version now in the windows console and the git bash and it returns immediately without any problems.
If I execute git.exe --version on the windows console, I get an error message:
'git.exe' is not recognized as an internal or external command,
operable program or batch file.

git.exe --version works only in the git bash not windows console, is maybe this the problem?
Oct 21, 2010
Project Member #6 [email protected]
can you try sync dialog?
Oct 21, 2010
#7 [email protected]
I tried the sync dialog and that is working fine in TortoiseGit 1.5.8 (tested it with pull button).
The TortoiseGit pull function works too, only the git fetch function fails.
(have not tested push because I have currently no modifications to push)


Oct 22, 2010
Project Member #8 [email protected]
Do you see any text at log-box when fail?
Oct 25, 2010
#9 [email protected]
What do you mean with log-box?
If that fails i see nothing till i kill the git.exe via the task manager then I get the error message mentioned before.
Oct 26, 2010
#10 [email protected]
Hi!

Same Troubles here with same version. 

It did not work on a repository i was trying to push via git protocol. via ssh protocol it's working correctly. (no problems with push, sync, whatsoever).

Unfortunately we already moved to ssh protocol.

bests
Oct 26, 2010
Project Member #11 [email protected]
I remember git protocol only support pull\fetch. Don't support push.

"Unfortunately we already moved to ssh protocol."? 
You said ssh work. why "Unfortunately"
Nov 1, 2010
#12 [email protected]
I had this exact same problem, and solved it by rolling back to 1.5.3
Nov 16, 2010
#13 [email protected]
I have this problem and noticed that in TaskManager there are two relevant processes, "git.ext" and "TortoiseProc.exe".
When I "End Process" on the "git.exe" I get a TortoiseGit pop-up saying "git have not installed".
Once I click ok the push dialog shows up and everything proceeds as normal.
Nov 16, 2010
Project Member #14 [email protected]
At some machine, "git.exe --version" will hang when tortoisegit check git version
Nov 19, 2010
#15 [email protected]
Same problem here. Windows XP SP3. As I just installed the SP3 (this week), I'm not sure if this is part of the problem. Sync doesn't work, too.
Nov 26, 2010
Project Member #16 [email protected]
Can you try "Nov 26" night build to check if fix your problem?

Download search all
 
 
 
Status: Fixed 
 
 
 
Dec 6, 2010
#17 [email protected]
I tested the version "Nov 26" and it works fine.
Thanks for the fix.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章