Alec the Geek

mobile version http://alecthegeek.mofuse.mobi/

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):

  1. Download and unpack the source code. Pointer here
  2. Run ‘./configure –prefix=/usr/local’
  3. Run ‘make test’
  4. Ignore errors relating to not detecting unwritable repos
  5. run ‘make install’
  6. run ‘hash -r’
  7. Make sure it’s installed with ‘type git’ and ‘git –version’

Update March/09 — I found more detailed instructions

2 Responses to “Top Tip: Upgrade Git on Cygwin”

  1. 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. :-(

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>