{"thread":{"id":"8054","subject":"GIT on Windows","startedAt":"2007-05-09T12:29:07Z","lastAt":"2007-05-09T18:58:35Z","messageCount":4,"participants":["Panagiotis Issaris","Johannes Sixt","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"41577","messageId":"loom.20070509T142518-558@post.gmane.org","threadId":"8054","inReplyTo":null,"subject":"GIT on Windows","fromName":"Panagiotis Issaris","fromEmail":"takis.issaris@uhasselt.be","sentAt":"2007-05-09T12:29:07Z","receivedAt":"2007-05-09T12:29:07Z","isPatch":false,"sender":{"key":"takis.issaris@uhasselt.be","avatar":null},"body":"Hi,\n\nAs someone in the FFmpeg project asked about GIT's availability on other\noperating systems, and it was mentioned that Mercurial worked fine\non Windows, I wanted to have a look whether it was already possible to run GIT\non Windows.\n\nI first had a go at getting it working on MSys/MinGW, but as no binaries\nappeared to be available and compilation wasn't trivial, I figured I'd\ntake the easier path using CygWin. When looking for packages to resolve the GIT\nbuild dependencies, I noticed that a GIT package was\nalready available from within the CygWin installer! :-)\n\nI tried some basic stuff, creating a repository, adding files, committing,\ndiffing and found out all this worked fine. I noticed that gitk also works fine.\n\nThen I wanted to try the same on some real repository (meaning with more then\nthe 10 commits my testrepository contained).\n\nI tried cloning a repository of my own but this resulted in a crash:\n\ngit clone http://lumumba.uhasselt.be/takis/git/ffmpeg-pi.git/\n...\nwalk 5c90e2f63a0d46c6f2ab6c30bdfe1e0212ca46ff\nwalk 77a6e87c60a59b9aea1d2441b7092a55a66f5f6e\nwalk bb588b310f6d4313b7e979a7291dda5ed7150f24\nwalk 43ede2c8f98a8d089be1d94a03ad25a442aaf70a\nwalk 7c8107ced46b499daaac7b31e9316b3ce02d5b97\nwalk 645d04783e96d519b04aa079152330ca583c06e1\nwalk 2a4b277efcaa4ccb2ce0c4e2db1359d4d9de50b3\nwalk a364a4c1b3dfcaa65b39a09162f71dbdedcdaa9d\nwalk a4ba211235ab711a6d626c6b1c58762067d24308\nwalk 6ba58730a9d61bcac2a1585d646670a50a75acb0\nwalk a805a8dc64b86bb1235b1a0016647f604f145441\nwalk b12275479b67093f8b399e6e1461c14b55889b3f\nwalk 8400d62a2dc5242baf76a47ffb2705a0809dbeaa\nwalk 64f8fbdfe9a4810987bf22ce1255cfdb9772e07a\nwalk 9ac44cb9aa52e0b2befa5e54c78ea36ff85bfa71\nwalk 41f92f338d79cd404e430832a6cbba601b00ad08\n      8 [main] git-http-fetch 3436 _cygtls::handle_exceptions: Error while dumpi\nng state (probably corrupted stack)\n/usr/bin/git-clone: line 33:  3436 Segmentation fault      (core dumped) git-htt\np-fetch $v -a -w \"$tname\" \"$sha1\" \"$1\"\nrm: cannot remove directory `/cygdrive/c/Documents and Settings/pissaris/src/ffm\npeg-pi/.git/clone-tmp': Directory not empty\n\n\nThe resulting directory contains only the following:\n\npissaris@pissaris ~/src/ffmpeg-pi$ ls .git/ -la\ntotal 0\ndrwxr-xr-x+ 3 pissaris mkgroup-l-d 0 May  9 14:02 .\ndrwxr-xr-x+ 3 pissaris mkgroup-l-d 0 May  9 14:02 ..\ndrwxr-xr-x+ 2 pissaris mkgroup-l-d 0 May  9 14:02 clone-tmp\n\npissaris@pissaris ~/src/ffmpeg-pi\n\n\npissaris@pissaris ~/src/ffmpeg-pi\n$ git --version\ngit version 1.5.1.3\n\nI'll see if 1.5.1.4 solves this crash, and will most likely have a go at getting\nthe MinGW version compiled too.\n\n\nAny clues on the reason for this crash? Is anyone already using GIT on Windows\non real repositories?\n\n\n\nWith friendly regards,\nTakis\n"},{"id":"41580","messageId":"4641C197.58F457CF@eudaptics.com","threadId":"8054","inReplyTo":"loom.20070509T142518-558@post.gmane.org","subject":"Re: GIT on Windows","fromName":"Johannes Sixt","fromEmail":"j.sixt@eudaptics.com","sentAt":"2007-05-09T12:41:59Z","receivedAt":"2007-05-09T12:41:59Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Panagiotis Issaris wrote:\n> I'll see if 1.5.1.4 solves this crash, and will most likely have a go at getting\n> the MinGW version compiled too.\n\nI don't think that the MinGW version can clone via http out of the box.\nIf you can, use native git protocol or ssh. They are much preferred over\nhttp anyway (not only on Windows).\n\n-- Hannes\n"},{"id":"41581","messageId":"loom.20070509T143929-778@post.gmane.org","threadId":"8054","inReplyTo":"loom.20070509T142518-558@post.gmane.org","subject":"Re: GIT on Windows","fromName":"Panagiotis Issaris","fromEmail":"takis.issaris@uhasselt.be","sentAt":"2007-05-09T12:42:29Z","receivedAt":"2007-05-09T12:42:29Z","isPatch":false,"sender":{"key":"takis.issaris@uhasselt.be","avatar":null},"body":"Panagiotis Issaris <takis.issaris <at> uhasselt.be> writes:\n[...]\n> pissaris <at> pissaris ~/src/ffmpeg-pi\n> $ git --version\n> git version 1.5.1.3\n> \n> I'll see if 1.5.1.4 solves this crash, and will most likely \n> have a go at getting the MinGW version compiled too.\n\nPlease ignore this bugreport as GIT 1.5.1.4 indeed seems to solve \nthis crash! :-) (That or the CygWin binary GIT 1.5.1.3 package \nmight be broken).\n\n\nWith friendly regards,\nTakis\n \n \n"},{"id":"41643","messageId":"20070509185835.GC3141@spearce.org","threadId":"8054","inReplyTo":"loom.20070509T142518-558@post.gmane.org","subject":"Re: GIT on Windows","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2007-05-09T18:58:35Z","receivedAt":"2007-05-09T18:58:35Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Panagiotis Issaris <takis.issaris@uhasselt.be> wrote:\n> Any clues on the reason for this crash? Is anyone already using GIT on Windows\n> on real repositories?\n\nYes, I'm using Git on Cygwin on real repositories.  My largest there\nis about 60 MiB, ~70,000 objects, 10,000 files.  Myself and about\n25 others who are required to use Windows use it every day just fine.\n\nI also use HTTP fetch to download the latest git.git changes so I\ncan build them locally (I don't use the Cygwin package, I compile it\nmyself from scratch) but I haven't done a clone over HTTP in ages as\nI already have a local git.git clone established in a few locations.\nI'd build any new clone from my existing local ones first...\n\n-- \nShawn.\n"}]}