git/list[1] front-page[2] threads[3] people[4] search[5] about
 

GIT on Windows

From
PIPanagiotis Issaris <takis.issaris@uhasselt.be>
Date
May 9, 2007, 12:29 UTC
Message-ID
<loom.20070509T142518-558@post.gmane.org>
Hi,

As someone in the FFmpeg project asked about GIT's availability on other operating systems, and it was mentioned that Mercurial worked fine on Windows, I wanted to have a look whether it was already possible to run GIT on Windows.

I first had a go at getting it working on MSys/MinGW, but as no binaries appeared to be available and compilation wasn't trivial, I figured I'd take the easier path using CygWin. When looking for packages to resolve the GIT build dependencies, I noticed that a GIT package was already available from within the CygWin installer! :-)

I tried some basic stuff, creating a repository, adding files, committing, diffing and found out all this worked fine. I noticed that gitk also works fine.

Then I wanted to try the same on some real repository (meaning with more then the 10 commits my testrepository contained).

I tried cloning a repository of my own but this resulted in a crash:
git clone http://lumumba.uhasselt.be/takis/git/ffmpeg-pi.git/
...
walk 5c90e2f63a0d46c6f2ab6c30bdfe1e0212ca46ff
walk 77a6e87c60a59b9aea1d2441b7092a55a66f5f6e
walk bb588b310f6d4313b7e979a7291dda5ed7150f24
walk 43ede2c8f98a8d089be1d94a03ad25a442aaf70a
walk 7c8107ced46b499daaac7b31e9316b3ce02d5b97
walk 645d04783e96d519b04aa079152330ca583c06e1
walk 2a4b277efcaa4ccb2ce0c4e2db1359d4d9de50b3
walk a364a4c1b3dfcaa65b39a09162f71dbdedcdaa9d
walk a4ba211235ab711a6d626c6b1c58762067d24308
walk 6ba58730a9d61bcac2a1585d646670a50a75acb0
walk a805a8dc64b86bb1235b1a0016647f604f145441
walk b12275479b67093f8b399e6e1461c14b55889b3f
walk 8400d62a2dc5242baf76a47ffb2705a0809dbeaa
walk 64f8fbdfe9a4810987bf22ce1255cfdb9772e07a
walk 9ac44cb9aa52e0b2befa5e54c78ea36ff85bfa71
walk 41f92f338d79cd404e430832a6cbba601b00ad08
      8 [main] git-http-fetch 3436 _cygtls::handle_exceptions: Error while dumpi
ng state (probably corrupted stack)
/usr/bin/git-clone: line 33:  3436 Segmentation fault      (core dumped) git-htt
p-fetch $v -a -w "$tname" "$sha1" "$1"
rm: cannot remove directory `/cygdrive/c/Documents and Settings/pissaris/src/ffm
peg-pi/.git/clone-tmp': Directory not empty
The resulting directory contains only the following:

pissaris@pissaris ~/src/ffmpeg-pi$ ls .git/ -la total 0 drwxr-xr-x+ 3 pissaris mkgroup-l-d 0 May 9 14:02 . drwxr-xr-x+ 3 pissaris mkgroup-l-d 0 May 9 14:02 .. drwxr-xr-x+ 2 pissaris mkgroup-l-d 0 May 9 14:02 clone-tmp

pissaris@pissaris ~/src/ffmpeg-pi

pissaris@pissaris ~/src/ffmpeg-pi $ git --version git version 1.5.1.3

I'll see if 1.5.1.4 solves this crash, and will most likely have a go at getting the MinGW version compiled too.

Any clues on the reason for this crash? Is anyone already using GIT on Windows on real repositories?

With friendly regards, Takis

Next: Johannes Sixt
Message 1 of 4 in “GIT on Windows”
  1. Panagiotis IssarisMay 9, 2007
  2. Johannes SixtMay 9, 2007
  3. Panagiotis IssarisMay 9, 2007
  4. Shawn O. PearceMay 9, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.