There's new GIT instructions on Github now
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Thu May 26 09:45:32 PDT 2011
On 21/05/2011 11:02, Daniel Gibson wrote:
> Am 21.05.2011 11:28, schrieb Don:
>> Vladimir Panteleev wrote:
>>> On Sat, 21 May 2011 00:47:46 +0300, Don <nospam at nospam.com> wrote:
>>>
>>>> Yeah, I would have thought so. I wouldn't expect to find the root
>>>> cause first described as bug #21, yes TWENTY ONE in the msysgit
>>>> database.
>>>
>>> Sorry, but did you read the bug report and the whole comment you
>>> linked to? It's completely unrelated, core.auto-crlf is related to the
>>> conversion of files in the working directory - this setting will not
>>> affect the way the index is accessed. You're not making much of sense,
>>> and I'm the "fanboy" here...
>>>
>>>> I don't know exactly what causes it. It may have something to do with
>>>> the fact that I have a symlink in my path. Here's the result of a
>>>> quick google:
>>>> ----
>>>> http://www.nishioka.com/blog/2008/01/source-control-with-git-and-cygwin.html
>>>>
>>>>
>>>>
>>>> "If you use git on cygwin, you must be sure your disks are mounted
>>>> binmode or your database will get corrupted!
>>>>
>>>> I had all my disks but one mounted binmode, but I also had a symbolic
>>>> link that ended up using that one textmode mount. This corrupted the
>>>> index and I got:
>>>>
>>>> error: bad index file sha1 signature
>>>> fatal: index file corrupt"
>>>>
>>>> Still not fixed in cygwin in 2011.
>>>
>>> How did you end up with a text mount? Did you create it yourself?
>>
>> I don't even know what a text mount is. (That's a quote from the page).
>> But my symptoms seem exactly the same as that.
>>
>> My experience is:
>> * download, standard install.
>> * As far as I know there is nothing unusual to my Windows setup.
>> * Running 'git status' corrupts the database.
>> * Googling for the error message I find other people have encountered
>> this before.
>> * I find many other bugs within a couple of hours of use.
>> Conclude this is an _extremely_ immature product.
>>
>> I'm amazed anyone disagrees with that.
>>
>>
>
> By the way: Have you ever tried JGIT? http://www.eclipse.org/jgit/
> I don't know how mature it is, but at least it doesn't seem to rely on
> bash scripts and such.
>
> Cheers,
> - Daniel
Yeah, it's a pure Java implementation, and thus much more portable. From
what I hear JGit and EGit (the Eclipse GUI/team-provider for JGit) are
still a bit in their infancy, but they are good enough for use (I hear a
lot of Eclipse devs are using them already). It doesn't support all Git
features yet, but what it does support should not be too buggy.
In any case it's worth to watch this, it is a project getting a lot of
traction in Eclipse, since Git was chosen to be the replacement for CVS
(yes, CVS, they are still using that) for hosting the official Eclipse
projects, so they have a lot of developers working on it (backed by
several companies),
--
Bruno Medeiros - Software Engineer
More information about the Digitalmars-d
mailing list