Am 05.03.2013 18:25, schrieb McKay Salisbury:
> I'm using Visual Studio mostly.
>
> I committed my local changes, and then did a pull. There were merge
> conflicts. When I try using Visual Studio to do the merge, it eventually
> asked me to "Accept Merged Result", then asks me about line
> normalization, then it gave an error "value was either too large or too
> small for an int32" in a dialog box.
Don't know what this means. This is not from this planet. ;-)
> so I broke down to the command line, and a "git merge" gives me an error
> "fatal: Out of memory, calloc failed"
>
> and now I'm in a pretty broken state. things like "git reset --hard
> HEAD~1" also give me "fatal: Out of memory, calloc failed"
>
> What do I do? What's wrong?
Hard to tell. My guess is that the index file was broken somehow. Does
'git fsck' notice any oddities?
Since you are prepared to overwrite the worktree ('reset --hard') we
have some freedom in what to do next. Rename .git\index (do not remove
the file, it may be worth having for debugging). Does 'git reset --hard
HEAD~' work now?
-- Hannes