Re:Gitbox 1.0 released: a version control app for Mac
by dabeeeenster on Saturday November 27, 2010 @04:21AM
(#1944668)
65 MB? For a git browser? Really?
[ Parent
| on HN ]
Re:Gitbox 1.0 released: a version control app for Mac
by oleganza on Saturday November 27, 2010 @04:35AM
(#1944685)
First, it is not a browser. You actually do commits, merges and manipulate branches.
The size is that big because Gitbox is bundled with official Git binaries so you don't have to install anything else. I will see how to bring the size down in the next versions. Anyway, this fact does not affect the performance and does not eat much memory.
Re:Gitbox 1.0 released: a version control app for Mac
by pornel on Saturday November 27, 2010 @07:55AM
(#1944877)
git-osx-installer package takes 4.3MB, but your git.bundle takes 150MB.
The problem is that the bundle contains exactly same binary 104 times (git, git-add, git-apply, etc. are identical files, 1.3MB each). These should be symlinks.
It might be ZIP's fault (doesn't support symlinks AFAIK). I distribute my apps as tar.bz2, and nobody complained yet.
Re:Gitbox 1.0 released: a version control app for Mac
by blasdel on Saturday November 27, 2010 @09:00AM
(#1944944)
Is he really shelling out for every git operation, or are those binaries just extra roughage for technical users?
Re:Gitbox 1.0 released: a version control app for Mac
by dchest on Saturday November 27, 2010 @08:13AM
(#1944890)
ZIP on OS X supports symlinks.
Re:Gitbox 1.0 released: a version control app for Mac
by oleganza on Saturday November 27, 2010 @11:07AM
(#1945170)
I couldn't get it store hardlinks properly (using ditto). Do you know how to fix that?
Re:Gitbox 1.0 released: a version control app for Mac
by oleganza on Saturday November 27, 2010 @01:44PM
(#1945533)
corprew: the situation with hardlinks and the app size will improve over time. I just had a lot of more important things to do.
(sorry, cannot reply to you directly: no reply link)
Re:Gitbox 1.0 released: a version control app for Mac
by corprew on Saturday November 27, 2010 @01:38PM
(#1945520)
is there a reason you can't write a script to make the links rather than zipping it up?
Re:Gitbox 1.0 released: a version control app for Mac
by dabeeeenster on Saturday November 27, 2010 @06:35AM
(#1944799)
Thanks for the reply - I'm always suspicious of large binaries with OSX!
Re:Gitbox 1.0 released: a version control app for Mac
by to on Saturday November 27, 2010 @04:53AM
(#1944698)
so is that better than gitx?
Re:Gitbox 1.0 released: a version control app for Mac
by oleganza on Saturday November 27, 2010 @05:01AM
(#1944710)
Gitbox is better because it is a pleasure to use. There are tons of little details which matter in a daily work. For instance, when you switch a branch and try to commit to it, the branch name will be highlighted to remind you that the branch was switched since last commit. If you forgot to switch back, you just cancel the prompt. This little thing instantly eliminates 50% of use cases for "git reset --hard" or "git cherry pick" and makes you happier.
Also, Gitbox fetches remote commits automatically so see that you have to pull something: this eliminates unnecessary merge commits.
Re:Gitbox 1.0 released: a version control app for Mac
by mxcl on Saturday November 27, 2010 @08:36AM
(#1944914)
I'll be sure to give it a thorough testing. Thanks for your work.
Re:Gitbox 1.0 released: a version control app for Mac
by AllTom on Saturday November 27, 2010 @04:28AM
(#1944675)
I don't know why it takes that much space, but that doesn't seem like enough space to worry about on a Mac.
Re:Gitbox 1.0 released: a version control app for Mac
by AllTom on Saturday November 27, 2010 @04:33PM
(#1945942)
Some of the applications on my computer that are bigger than Gitbox: Google Chrome, Wireshark, Inkscape, iPhoto, Komodo Edit, etc. My hard drive barely noticed when I downloaded Gitbox, so practically the only difference was a few extra seconds of download time that I didn't notice, that's all I was trying to say. Your comment was helpful to the developer in the end, so kudos.
Re:Gitbox 1.0 released: a version control app for Mac
by DamonOehlman on Saturday November 27, 2010 @04:23AM
(#1944672)
Well it looks pretty. Pretty doesn't come cheap ya know ;)