Bug - crash on large commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

I'm a new user, and thinking that git is better than sliced bread.  So,
today I had to set up a new computer (MacOSX), and thought: "hey, I could
put the whole system into git!"

Well, ok, technically yes, you can do that.  Go into the root directory,
type 'git init', then 'git add .', then 'git commit -a'.

Bug 1: git complained about a symbolic link to nowhere and halted...
several hours into the 'add'.  If I want to store a broken link, let me;
maybe warn me.

Bug 2: git died with an out-of-memory error on the commit:
------
# git commit -a
[master (root-commit) 62b52e2] The initial checkin of the whole hard disk.
 Committer: System Administrator <root@xxxxxxxxxxxxx>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you@xxxxxxxxxxx

If the identity used for this commit is wrong, you can fix it with:

    git commit --amend --author='Your Name <you@xxxxxxxxxxx>'

git(4667) malloc: *** mmap(size=1964838912) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
git(4667) malloc: *** mmap(size=1964838912) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
fatal: Out of memory, malloc failed
[Mac-Pro:/] shadministrator# git version
git version 1.7.0.2
-----

Anyhoo, it's not really the right tool for the job, but Apple hasn't got a
package management system to speak of (yes, I know about bom files --
don't speak of it), and their filesystem loses bits now and then, so I
wanted the crypto checksums and the ability to spot and roll back changes.
 I suppose TimeMachine will have to do.

Thanks for a great program!
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]