Re: git on Cygwin: Not a valid object name HEAD
- From
Steffen Prohaska <prohaska@zib.de>
- Date
- Aug 15, 2007, 05:43 UTC
- Message-ID
- <ABA1D7D2-92A6-4E8C-AC36-93912621E3D4@zib.de>
- In-Reply-To
- <85fy2l1i1g.fsf@lola.goethe.zz>
On Aug 15, 2007, at 7:30 AM, David Kastrup wrote:
Show 14 quoted lines
> Steffen Prohaska <prohaska@zib.de> writes: > >> Author: Johannes Schmidt-Ehrenberg <schmidt-ehrenberg@zib.de> >> Date: Mon Aug 13 19:00:39 2007 +0200 >> >> mergetool: fixed parsing of registry entry for kdiff3 >> >> The old code failed on Windows Vista. The output of >> reg.exe or something else may be a bit different. >> This patch improves the parsing code to be more robust. > > I seem to remember that you can't rely on reg.exe being available on > Windows. The Microsoft support pages talk about using regedit.exe > instead (which is quite more cumbersome).
I successfully ran it on at least Windows XP and Vista. On Vista, it was present on a quite fresh system (Visual Studio not yet installed). So I'm quite confident that it's likely to be there.
Do you have a reference? I searched msdn and was not able to immediately find the recommendation you're referring to.
Steffen