GitDownloadStrategy: don't assume --single-branch is available

git-clone's --single-branch is too new, and Xcode 4.3's stock git
doesn't have it. Since we don't require git from Homebrew, don't use it.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Extract detection of compression types

Separate out detecting compression types from uncompressing and staging.
patches - support detection of compression types
jless 382

Includes iso262 + ext03 support

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
jpeginfo 1.6.1

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
zsh: support site specific files

This fixes the `site-scripts` and `site-functions` directories
so that zsh points to the HOMEBREW_PREFIX version of these files
instead of the Cellar version.

This means you can drop files in these directories and the files
will persist when you upgrade zsh. Otherwise they disappear when
you upgrade zsh.

Closes #11955.

[jn: mkpath everything under share/zsh]

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ack: install completion into site-functions

`_ack` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.

Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted.  `site-functions` can change during a zsh
process's lifetime.

Closes #11937.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
hub: install completion into site-functions

`_hub` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.

Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted.  `site-functions` can change during a zsh
process's lifetime.

Closes #11938.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
task: install completion into site-functions

`_task` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.

Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted.  `site-functions` can change during a zsh
process's lifetime.

Closes #11939.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
git-now: install completion into site-functions

`_git-now` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.

Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted.  `site-functions` can change during a zsh
process's lifetime.

This will enable homebrew's zsh to automatically use the completion.
See issue #11936 for details.

Closes #11940.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
git-flow: install completion into site-functions

`_git-flow` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.

Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted.  `site-functions` can change during a zsh
process's lifetime.

This will enable homebrew's zsh to automatically use the completion.
See issue #11936 for details.

Closes #11941.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
autojump: install completion into site-functions

`_autojump` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.

Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted.  `site-functions` can change during a zsh
process's lifetime.

This will enable homebrew's zsh to automatically use the completion.
See issue #11936 for details.

Closes #11942.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>