Top Tip: Upgrade Git on Cygwin
Posted by Alec on 21 January 2009
The current version of git installed with Cygwin (1.5.x) has at least one annoying bug so it’s worth building the latest version (NB I have almost all of Cygwin installed – you may need to install additional development tools and libs):
- Download and unpack the source code. Pointer here
- Run ‘./configure –prefix=/usr/local’
- Run ‘make test’
- Ignore errors relating to not detecting unwritable repos
- run ‘make install’
- run ‘hash -r’
- Make sure it’s installed with ‘type git’ and ‘git –version’
Update March/09 — I found more detailed instructions


Geoff The said
I’m installing git on Cygwin from scratch and came across your page.
Are you aware of a list of known tests that will definitely not run on Cygwin?
The closest I’ve seen is this post by Ramsay Jones:
http://markmail.org/message/lhggynpb45nbdwfg
And on my own install, I’m having a lot of trouble with tests in the t91xx range.
Alec said
I’m afraid I was very lazy and just assumed it would work — so far I have been proven correct