jawerty / Hyro

A real-time desktop HTML5 editor -- view your html while you code it.
http://jawerty.github.io/Hyro
MIT License
806 stars 96 forks source link

.git\objects\pack dir is 120mb #9

Closed TimNZ closed 10 years ago

TimNZ commented 10 years ago

You should purge or clean up your packfiles, doing a clone results in a 120mb download.

jawerty commented 10 years ago

What version did you download (Version number, Mac, Windows or Linux)?

On Thursday, January 9, 2014, TimNZ wrote:

You should purge or clean up your packfiles, doing a clone results in a 120mb download.

— Reply to this email directly or view it on GitHubhttps://github.com/jawerty/Hyro/issues/9 .

Sent from Gmail Mobile -Jared

TimNZ commented 10 years ago

a 'git clone', from master I expect.

jawerty commented 10 years ago

Accidentally closed it, sorry. Can you tell me what computer you're using because the problem might vary depending which computer build.

TimNZ commented 10 years ago

Windows, but I don't think that should affect what is retrieved via a git clone.

Put it this way, I've cloned a lot of github projects and never had the problem before of huge packfiles - google 'huge git pack file'

http://stackoverflow.com/questions/11050265/remove-large-pack-file-created-by-git

I don't know what you've been doing but I think the revision history should perhaps be cleaned up.

jawerty commented 10 years ago

It could affect it considering the git repo is slightly older on the linux version. But that's not the issue, I'll look into the pack file, thanks. I'll comment on any updates.

jawerty commented 10 years ago

The best solution was to replace the .git seeing as most of the commits were personal. It shouldn't be 120mb now.

TimNZ commented 10 years ago

Good stuff!

It's a shame they haven't enhanced node-webkit lockdown of iframe beyond nwdisable and nwfaketop, makes it pretty much useless for a lot of purposes.

jawerty commented 10 years ago

Agreed. I was hoping that was a feature when I started coding but sadly that's not the case.

On Thu, Jan 9, 2014 at 3:55 PM, TimNZ notifications@github.com wrote:

Good stuff!

It's a shame they haven't enhanced node-webkit lockdown of iframe beyond nwdisable and nwfaketop, makes it pretty much useless for a lot of purposes.

— Reply to this email directly or view it on GitHubhttps://github.com/jawerty/Hyro/issues/9#issuecomment-31975111 .

Jared

gayprogrammer commented 10 years ago

Hello, I'm sorry to comment an old thread, but this problem still exists.

$ git clone https://github.com/jawerty/Hyro.git
Cloning into 'Hyro'...
remote: Reusing existing pack: 96, done.
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 105 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (105/105), 141.97 MiB | 3.68 MiB/s, done.
Resolving deltas: 100% (26/26), done.
Checking connectivity... done.
$ cd Hydro/
$ du -sh .git/ *
143M    .git/
8.0K    css
8.0K    Hyro_logo.png
4.0K    Hyro_title.png
60K Inconsolata.otf
4.0K    index.html
16K js
1.6M    lib
4.0K    LICENSE
4.0K    package.json
4.0K    README.md
352K    screenshots