Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: a shallow git addition

...

  1. If you have a patch that you think should be rolled in: OPEN AN ISSUE HERE https://drupal.org/project/hotsauce
  2. If you have a feature/app that you think should be rolled in: OPEN AN ISSUE HERE https://drupal.org/project/hotsauce
  3. If you have a contrib module that you think should be rolled in: OPEN AN ISSUE HERE https://drupal.org/project/hotsauce

 

Shallow clones

We're not talking about Jango Fett's performance. git shallow clones allow application servers and developers to avoid pulling the full history.

Here's how you can try it:

 

  1. Install git 1.9 or later. Check with git --version
  2. When you clone, add the --depth=1 option: git clone --depth=1 <repository>
  3. Everything else about your workflow shouldn't change at all as long as you don't need older history.

Cloning the repository for getpantheon.com (a normal Panopoly/Drupal 7 site) normally takes 2.5 minutes and 62 MiB. A shallow clone takes 1 minute and 29 MiB.

 

Resources

http://hubdrop.io/ - Mirror drupal.org projects on GitHub.