Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize repo size #3

Closed
blueyed opened this issue Oct 16, 2014 · 3 comments
Closed

Optimize repo size #3

blueyed opened this issue Oct 16, 2014 · 3 comments

Comments

@blueyed
Copy link

blueyed commented Oct 16, 2014

The repository is rather huge: .git takes over 30mb and then there's the animated gif in the worktree.

This could be optimized:

  1. Rewrite/cleanup the git history (e.g. the commits that introduced and removed the large files, Add UnicodeData.txt and UnicodeData.vim to .gitignore #2).
  2. Move the animated gif to a gh-pages branch or similar (and link to the absolute URL from the README).

While 2. is rather trivial, 1. is pretty intrusive for forks, branches etc.
Maybe a new branch or repo could be used?

It's not a mayor problem, but there are about ~35mb to be saved for every (Neo)Bundle, pathogen etc user.

@chrisbra
Copy link
Owner

I'll do number 2. Is there a reason, NeoBundle does not use --depth 1 for cloning? That should solve the isse I think.

@chrisbra
Copy link
Owner

Done with number 2.

@blueyed
Copy link
Author

blueyed commented Oct 17, 2014

Thanks for moving the gif!

NeoBundle does not use --depth 1 for cloning

It doesn't do so by default, but I have enabled it for myself.

I am closing the issue, rewriting the history is not really an option.

@blueyed blueyed closed this as completed Oct 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants