Re: git on Cygwin: Not a valid object name HEAD
- From
David Kastrup <dak@gnu.org>
- Date
- Aug 15, 2007, 06:59 UTC
- Message-ID
- <86d4xp471i.fsf@lola.quinscape.zz>
- In-Reply-To
- <ABA1D7D2-92A6-4E8C-AC36-93912621E3D4@zib.de>
Steffen Prohaska <prohaska@zib.de> writes:
Show 23 quoted lines
> On Aug 15, 2007, at 7:30 AM, David Kastrup wrote: > >> 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.
<http://www.microsoft.com/technet/prodtechnol/Windows2000serv/support/FAQW2KCP.mspx>
Q. What other tools are available for using the registry in batch?
A. If you install the Support Tools from the Windows 2000 CD-ROM, you
can use REG.EXE to Add, Delete, Copy, Compare, Export, Import,
Load a Hive, Query, Save, Restore, and Unload a Hive. To install
the Support Tools:1.
Insert the Windows 2000 CD-ROM into your CD-ROM drive.
2.
Click Browse this CD, and then open the Support\Tools folder.
3.
Double-click Setup.exe, and follow the on-screen instructions.
That does not sound like one could rely on its presence out of the box, at least on Windows 2000.
-- David Kastrup