1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-26 15:50:09 +00:00
Commit graph

828 commits

Author SHA1 Message Date
Alexis Hildebrandt
9af2295394 Add emoji-clock plugin
which displays the current time with half hour accuracy as an emoji
symbol, for example in the shell prompt.
2013-04-08 09:38:15 +02:00
Robby Russell
7e046d320f Merge pull request #729 from doitian/plugin_tmuxinator
tmuxinator completion
2013-04-07 19:30:30 -07:00
Robby Russell
b57284244e Merge pull request #1632 from jmatth/tmux_plugin
Adding Tmux Plugin
2013-04-07 19:08:44 -07:00
Robby Russell
2d0c9e771d Merge pull request #1652 from z2v/master
Add useful aliases accompanying 'push/pull' activites
2013-04-07 19:06:45 -07:00
Robby Russell
dda1154c80 Merge pull request #1655 from nubs/phing-and-cache-files
Improve portability of cache file detection for command targets
2013-04-07 19:05:59 -07:00
Robby Russell
e041b50742 Merge pull request #1656 from hacfi/patch-2
Autocomplete composer default methods if composer.json is not available
2013-04-07 19:05:08 -07:00
Robby Russell
037b691c19 Merge pull request #1665 from bmcorser/patch-1
Alias for commit and commit all with amend
2013-04-07 19:04:45 -07:00
Robby Russell
2606772676 Merge pull request #1679 from KokaKiwi/master
A new plugin "colored-man" and a greeny theme "kiwi"
2013-04-07 19:03:39 -07:00
Robby Russell
3726c49596 Merge pull request #1680 from zbrox/master
Powify autocomplete
2013-04-07 19:02:58 -07:00
Robby Russell
eadca724b7 Merge pull request #1681 from akre54/add-bower
add bower autocompletion
2013-04-07 19:02:24 -07:00
Robby Russell
0169654bf0 Merge pull request #1685 from justinclayton/patch-1
Update _vagrant
2013-04-07 19:01:54 -07:00
Robby Russell
b95c0e827b Merge pull request #1686 from timsly/hub-autocomplete
added hub autocomplete instructions
2013-04-07 19:01:42 -07:00
Robby Russell
601d4d6efc Merge pull request #1662 from rylwin/patch-1
last-working-dir: Use >! to overwrite $cache_file
2013-04-07 18:58:50 -07:00
Robby Russell
ca384067e6 Merge pull request #1674 from simeonwillbanks/master
Fixes #1485 Zeus should not be bundled
2013-04-07 18:58:03 -07:00
Robby Russell
77ca980bfa Merge pull request #1678 from lesmyrmidons/symfony2
Symfony2
2013-04-07 18:57:21 -07:00
Robby Russell
1d66bef550 Merge pull request #1682 from maplebed/ben.knife
Allow you to customize the path to knife config files
2013-04-07 18:57:00 -07:00
Robby Russell
397d4ae1f2 Merge pull request #1697 from dsx/sublime-plugin-fix
Prevents echo of _sublime_darwin_paths contents on zsh startup
2013-04-07 18:51:18 -07:00
Conrad Irwin
fc785de97b +safe-paste plugin 2013-04-07 17:42:38 -07:00
dsx
6271941a91 Prevents echo of _sublime_darwin_paths contents 2013-04-07 09:12:30 -04:00
Tima Maslyuchenko
8e368c1222 added hub autocomplete instructions 2013-04-03 16:43:22 +03:00
Justin Clayton
48c0f6c294 Update _vagrant
updated to match new vagrant 1.1.x command list
2013-04-02 18:18:01 -07:00
Ben Hartshorne
520b0132e9 adding docs about knife path config variables 2013-04-01 13:44:53 -07:00
Ben Hartshorne
5c1c536015 allowing you to override knife paths 2013-04-01 13:42:33 -07:00
Adam Krebs
f9722174f7 fix some references from npm --> bower. 2013-04-01 00:35:39 -04:00
Adam Krebs
b7608bf32d add bower autocompletion 2013-04-01 00:26:39 -04:00
Rostislav Raykov
8d6b7573e7 Powify autocomplete 2013-03-31 15:49:51 +02:00
KokaKiwi
af8d8df36c Add colored man plugin. 2013-03-30 16:00:40 +01:00
lesmyrmidons
55da480da1 modify alias sfc => sf 2013-03-29 16:39:18 +01:00
lesmyrmidons
fc67399843 Simplification name aliases and adding new alias 2013-03-29 13:35:35 +01:00
Simeon F. Willbanks
c89afd2f6a Fixes #1485 zeus should not be bundled 2013-03-27 08:07:24 -07:00
Vladimir Zakharov
295bac0329 Mercurial: add alias for pull with rebasing 2013-03-27 10:16:46 +04:00
Robby Russell
d9bf1adca6 Merge pull request #1659 from AshleyS/master
Fixed base64 decode parameter for newer versions of base64 binary
2013-03-26 22:12:01 -07:00
Robby Russell
2239035368 Merge pull request #1573 from flz/master
Add new profiles plugin.
2013-03-26 22:02:45 -07:00
Robby Russell
9276b5f8ac Merge pull request #1595 from nevir/sublime3-support
Support for Sublime Text 3, with fallback
2013-03-26 22:01:31 -07:00
Robby Russell
6f72d6c17c Merge pull request #1598 from zasdfgbnm/master
new plugin
2013-03-26 22:00:52 -07:00
Robby Russell
c867684fe1 Merge pull request #1607 from gekken/master
added ruby 2.0.0 to rvm plugin
2013-03-26 21:59:48 -07:00
Robby Russell
5b7f49e6c6 Merge pull request #1610 from mcaserta/scala_and_sbt_plugins
SBT and Scala plugins.
2013-03-26 21:58:22 -07:00
Robby Russell
ed69d1e736 Merge pull request #1611 from ripdog/patch-1
Update plugins/extract/extract.plugin.zsh
2013-03-26 21:57:54 -07:00
Robby Russell
eabf51e0fe Merge pull request #1614 from miklos-martin/bower
Bower plugin
2013-03-26 21:57:26 -07:00
Robby Russell
d3d3f0e8b9 Merge pull request #1524 from bonifaido/master
Maven plugin completion fix for other (than Java) JVM languages and/or missing test cases folder
2013-03-26 21:51:32 -07:00
Robby Russell
280c3df90e Merge pull request #1638 from RomainBelorgey/master
Use completion if file Capfile
2013-03-26 21:49:03 -07:00
Robby Russell
74859240be Merge pull request #1650 from ishtu/master
add vncviewer function (using "open" functionality)
2013-03-26 21:48:36 -07:00
Robby Russell
b0d80a0175 Merge pull request #1664 from marcel-wolf/master
add ssh-agent option to set default lifetime for identities
2013-03-26 21:47:00 -07:00
Robby Russell
0b5d983897 Merge pull request #1668 from sheerun/patch-1
Use --no-rehash option for faster startup
2013-03-26 21:46:31 -07:00
Robby Russell
6a8e79fda0 Merge pull request #1669 from desimone/master
support for Go (golang) completions
2013-03-26 21:46:06 -07:00
Josh Matthews
19ae0b576c Exporting path to fixed config as a global variable.
This is done to fix compatibility with antigen.
To keep with convention, the variable has been renamed to be in all caps.
2013-03-26 19:42:05 +00:00
Josh Matthews
a91872df35 Prefixing tmux wrapper function with '_'. 2013-03-26 19:41:34 +00:00
Serg Lifinsky
c1c77685ed Fix grails plugin
Fix problem with "basename" command error "extra operand" (do not work with array)
2013-03-25 16:47:22 +02:00
Bobby DeSimone
7c50867d2e Added golang completion support from golang.org 2013-03-20 13:32:03 -04:00
Adam Stankiewicz
0ed1adeaad Use --no-rehash option for faster startup 2013-03-20 16:57:32 +01:00
Ben Marshall-Corser
f7f487c426 Alias for commit and commit all with amend
For the lazy and forgetful. Don't worry, a bang is fine in an alias and completion.

🎉
2013-03-17 23:00:12 +00:00
Marcel Wolf
2a1c9ff340 add ssh-agent option to set default lifetime of identities
By default, ssh-agent stores identities forever. It has an option to
set a maximum lifetime for identites (useful to expire passphrase protected
keys). Allow this option to be set using:

zstyle :omz:plugins:ssh-agent lifetime <time>
2013-03-16 00:06:46 -04:00
Ryan Winograd
4c8bba57ac Fix whitespace
That's what I get for using GitHub text editor and not checking tabs.
2013-03-13 22:51:14 -05:00
rylwin
1cfd813f79 last-working-dir: Use >! to overwrite $cache_file
Use ">!" to overwrite $cache_file in case noclobber is set. 
When noclobber is set, zsh will not allow the use of ">" to overwrite
the contents of a file. Instead, it displays a "file exists" error.
By using ">!" instead, we tell zsh to overwrite the file without
complaining.
2013-03-13 22:48:28 -05:00
Ashley Snowdon
6c6072c492 Modified to use full parameter as newer versions of base64 uses lowercase D 2013-03-13 11:21:43 +00:00
hacfi
4bf174c38b Autocomplete composer default methods if composer.json is not available
This plugin currently doesn't autocomplete composer commands if there is no composer.json in the current dir. However, the commands create-project, init, search, selfupdate and show are still useful without a composer.json!
2013-03-13 04:06:16 +01:00
Spencer Rinehart
bdf4f5a347 Allow ":" and "-" characters in phing tasks.
Tasks that included hyphens or colons were being excluded from
completion.  This improves the usage for this.
2013-03-12 13:23:34 -04:00
Spencer Rinehart
300f94cb0e Use [ -nt ] instead of stat -f%m to check cache files. 2013-03-12 13:23:30 -04:00
Vladimir Zakharov
6dd286bba3 Mercurial: add aliases for 'incoming' and 'outgoing' commands 2013-03-11 14:24:12 +04:00
ishtu
49860bd61f add function vncviwer 2013-03-10 19:18:33 +03:00
Sean Jones
fdd46d8815 Updated battery plugin. Displays charging time.
linux battery level now refreshes after every command
2013-03-02 11:09:57 +00:00
RomainBelorgey
20fe5e6a57 Update _capistrano
Add use of Capfile commands
2013-03-01 18:33:38 +01:00
Maxime Fabre
4bb7b698ca Add alias for "composer dump-autoload" 2013-02-28 11:50:39 +01:00
Alexey Poimtsev
f4b12321a9 Added rails4 plugin 2013-02-28 00:26:03 +04:00
Josh Matthews
f0a920df5a Checking to make sure tmux is actually installed before running plugin.
If it is not found an error message is printed.
2013-02-27 10:21:19 -05:00
Josh Matthews
4e8681c6e1 Adding options to choose tmux TERM for 256 and non-256 color terminals.
This may be needed on systems that don't have the proper terminfo for
screen and/or screen-256color. Otherwise the defaults of screen and
screen-256color should be fine.
2013-02-26 23:37:53 -05:00
Josh Matthews
86c9b32031 Adding compdef to maintain tmux completions. 2013-02-26 22:57:37 -05:00
Josh Matthews
56c46c4ed8 Fixing typo in alias. 2013-02-26 22:55:18 -05:00
Josh Matthews
691630a895 Adding option to prevent autostarting tmux more than once in the same session. 2013-02-26 22:29:26 -05:00
Josh Matthews
f096644c75 Checking if already in tmux before autostarting in tmux in tmux plugin. 2013-02-26 22:29:26 -05:00
Josh Matthews
43c50f03e3 Checking environment instead of local variable for fixing term in tmux plugin. 2013-02-26 22:29:26 -05:00
Josh Matthews
7b15627851 Fixing typos, logic, and gremlins in tmux plugin. 2013-02-26 22:29:26 -05:00
Josh Matthews
bf40d4e354 Adding helper tmux config files to tmux plugin. 2013-02-26 22:29:26 -05:00
Josh Matthews
45a4db33f8 Enabling autostart of tmux in tmux plugin. 2013-02-26 22:29:26 -05:00
Josh Matthews
0cf871d512 Adding comments to tmux plugin. 2013-02-26 22:29:26 -05:00
Josh Matthews
778ae57772 Tmux plugin now just runs tmux if any extra args are given. 2013-02-26 22:29:26 -05:00
Josh Matthews
3aef6793c2 Now checking for 256 color terminal in tmux plugin. 2013-02-26 22:29:26 -05:00
Josh Matthews
26ee66f179 Adding main function and alias to tmux plugin. 2013-02-26 22:29:26 -05:00
Josh Matthews
b979400cff Starting tmux plugin with basic config variables. 2013-02-26 22:29:26 -05:00
hacfi
8c74d80fd6 Fix Symfony2 command completion 'permission denied'
app/console by default (if you create a new Symfony project via composer create-project or by downloading it from symfony.com) is not executable. Therefore I get the following error:

sf2 _symfony2_get_command_list:1: permission denied: app/console 
_symfony2_get_command_list:1: permission denied: app/console
_symfony2_get_command_list:1: permission denied: app/console

To make command completion work without changing app/console you just have to let php run it.
2013-02-22 17:07:15 +01:00
Heiko Reese
174e09ca8d Added --quiet to suppress message about gpg-agent already running. 2013-02-21 03:40:32 +01:00
Heiko Reese
014ed1f0e5 Disable ssh-agent support if another ssh-agent is already running. 2013-02-21 02:46:20 +01:00
ripdog
2264c51355 Update plugins/extract/extract.plugin.zsh
Cause unrar to preserve directory structure. (Why is only unrar different?!)
2013-02-15 16:57:36 +00:00
Mirko Caserta
535fafde81 SBT and Scala plugins.
The SBT (Simple Build Tool: scala-sbt.org) plugin is an original
work of mine.
The Scala (scala-lang.org) plugin was taken from zsh-lovers.
2013-02-15 16:05:15 +01:00
Peter Bomars
ccdc5518f0 Update plugins/rvm/rvm.plugin.zsh
1) be gentle - first git pull request
2) added ruby 2.0.0 alias and function
2013-02-14 00:18:12 -08:00
Gao Xiang
06d5cb93ab new plugin:
start fbterm automatically in /dev/tty*
2013-02-11 11:33:24 +08:00
Robby Russell
fce68bbba0 Merge pull request #1594 from jbhannah/rbenv-gems-fix
Fix rbenv gems helper
2013-02-09 11:55:30 -08:00
Robby Russell
1a362c11a8 Merge pull request #1583 from To1ne/pj.plugin
added pj.plugin
2013-02-09 11:55:03 -08:00
Ian MacLeod
3d81ecfb43 Support for Sublime Text 3, with fallback 2013-02-08 23:00:49 -08:00
Jesse B. Hannah
dace87ae36 Fix rbenv gems helper
Fixes gem versions with words (beta, pre) in the version or with
multiple installed versions not being highlighted, and compatibility
with GNU sed (related to robbyrussell/oh-my-zsh#1579).
2013-02-08 19:11:40 -07:00
Eric Kelly
a5a6f6bb6c add alias for rspec to zeus plugin 2013-02-07 16:26:41 -05:00
Toon Claes
631a8473e2 added pj.plugin 2013-02-05 09:45:00 +01:00
Florent Thoumie
6d762fa053 Add new profiles plugin.
Depending on the machine you're logged into, you may want to use
specific configuration. Add 'profiles' to your list of plugin will
try to find a profile for the local machine and each (sub)domain
it belongs to.
2013-01-30 05:16:26 -08:00
Serdar Dalgıç
4c91f6d13e Add autoenv plugin, which adopts using Kenneth Reitz's autoenv into
oh-my-zsh.
2013-01-25 13:23:40 +02:00
Robby Russell
cf03ee6d88 Merge pull request #1534 from gberenfield/master
Tested fix for Issue #1479
2013-01-10 22:39:37 -08:00
Robby Russell
a634d50645 Merge pull request #1054 from ptillemans/master
Updated subcommands for leiningen plugin
2013-01-10 22:34:23 -08:00
Robby Russell
64db7b56f2 Merge pull request #1164 from fuksito/master
More usable aliases
2013-01-10 22:33:47 -08:00
Robby Russell
ae7bce34fd Merge pull request #837 from stacksmashing/master
Fix sprunge-plugin behaviour.
2013-01-10 22:32:26 -08:00
Stephen Zhuang
cd9c474303 Update to a better fab compeletion script. 2013-01-10 13:56:55 +08:00
goofansu
22da0a00b8 Add rebar to plugin 2013-01-08 13:34:33 +08:00
Stephen Zhuang
914c47b347 Merge remote-tracking branch 'upstream/master' 2013-01-06 14:10:42 +08:00
Stephen Zhuang
692dca0715 Add new plugin to autocomplete fabric commands 2013-01-06 14:08:12 +08:00
mikka
df7cae0f4f moved bower plugin to a separate branch 2013-01-03 07:18:38 +01:00
mikka
c5d575ccae cleaned up 2013-01-03 07:07:40 +01:00
Greg Berenfield
93c90a6bf5 Fix the fix for Issue #1479 2013-01-02 19:14:57 -05:00
Greg Berenfield
003dd8f4b6 fix for Issue 1479 2013-01-02 16:20:22 -05:00
Peter Tillemans
587832f155 Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh 2013-01-02 09:42:14 +01:00
Ryan Neufeld
3362899493 Adding torrent tools plugin.
Only one tool exists right now, that is to convert a magnetlink into a
torrent file.
2013-01-01 19:51:55 -08:00
Artie Kh
6ce08acb27 added support for subversion 1.7 for svn plugin 2012-12-30 21:18:12 +02:00
Filipe Chagas
d0842b431e Fix gitfast problem for untracket files
When showing the char % for untracket files, it was not being escaped
so there was shown a space in the place. It was also removing any char
that was right just after.
2012-12-28 17:37:48 -02:00
Nandor Kracser
dde4a8b6a3 Maven plugin completion fix
for other (than Java) JVM languages
2012-12-28 12:28:47 +01:00
thisiskun
a09cd713b4 add unbundled command 2012-12-24 17:27:23 +08:00
Artie Kh
55f09f89c8 Added verisions option for homebrew completion 2012-12-13 19:09:28 +02:00
Robby Russell
397c085a19 Merge pull request #1473 from bsteuber/fix-git-flow-feature-completion
use feature names instead of failing branch names in "git flow feature"
2012-12-09 09:04:02 -08:00
Weston Platter
f3fea45dd2 fixes #1474 add zeus to bundle exec listx 2012-12-06 18:30:15 -06:00
Benjamin Teuber
1b91c84d2b use feature names instead of failing branch names in "git flow feature" 2012-12-06 14:09:09 +01:00
Robby Russell
6d7a275972 Merge pull request #1084 from avit/bwana-plugin
Bwana plugin for reading man pages in the browser
2012-12-05 07:21:33 -08:00
Robby Russell
046fc5a1d8 Merge pull request #1133 from mappleconfusers/605ad8725b06cc15f8523404f59060b6a71bb7a2
Cat alias: :3
2012-12-05 07:19:18 -08:00
Robby Russell
083da66c0b Merge pull request #1139 from mappleconfusers/pull_req_git
Add aliases for git-remote
2012-12-05 07:16:36 -08:00
Robby Russell
ed5d2fff1f Merge pull request #1233 from mugenken/knife-check-cwd
check for knife.rb in cwd
2012-12-05 07:15:34 -08:00
Timothy Andrew
f7fc164377 Added a migrate alias.
It migrates the DB and prepares the test DB.
2012-12-05 08:21:42 +05:30
Robby Russell
178bce287e Merge branch 'master' of github.com:robbyrussell/oh-my-zsh 2012-12-04 08:27:13 -08:00
Robby Russell
0118b5b759 Merge pull request #1248 from grahamc/add-symfony
Adding a symfony plugin, for symfony 1
2012-12-04 06:56:59 -08:00
Robby Russell
d100354d0d Merge pull request #778 from rschmukler/plugin-osx
Added vsplit_tab and split_tab for iTerm.
2012-12-04 06:55:25 -08:00
Robby Russell
24188fda80 Merge pull request #1181 from paulmars/master
Plugin for git_remote_branch autocomplete.
2012-12-04 06:39:49 -08:00
Robby Russell
5f41ecd7b8 Merge pull request #1186 from r-darwish/history
Added history plugin
2012-12-04 06:38:28 -08:00
Robby Russell
bd9a86051f Merge pull request #1247 from drnic/git-cmds
Added 'gcl'for 'git config --list'; and gd for 'git diff'
2012-12-04 06:37:18 -08:00
Robby Russell
63deae380c Merge branch 'master' of github.com:robbyrussell/oh-my-zsh 2012-12-04 06:36:08 -08:00
Robby Russell
868a5138f6 Resolving conflict in merge of #1313 2012-12-04 06:35:59 -08:00
Robby Russell
3199d2ed8d Merge pull request #1387 from jimhester/vi-mode-patch
Fixes for vi-mode terminal overwriting bugs
2012-12-04 06:34:02 -08:00
Robby Russell
43ca5d8cbe Merge pull request #1458 from ranman/master
lazyload virtualenvwrapper
2012-12-04 06:33:41 -08:00
Robby Russell
9ae128983a Merge pull request #1454 from gAmUssA/patch-4
Update plugins/sublime/sublime.plugin.zsh
2012-12-04 06:33:13 -08:00
Robby Russell
26b3e1015d Merge pull request #1460 from tresni/patch-4
urltools for everyone
2012-12-03 07:25:51 -08:00
Robby Russell
2f0717cb76 Merge pull request #1459 from tresni/patch-3
Backwards Compatible Jira URLs #1378
2012-12-03 07:25:35 -08:00
Denis Cornehl
98bd19a036 plugin last-working-dir: create cache-directory if it doesn't exist 2012-12-03 11:13:13 +01:00
Brian Hartvigsen
80f151e56d urltools for Everyone
#1445 is great, if you use node.  For those that don't this should mean we can find a reasonable fallback.
Users can force urltools to use a specific system by setting `URLTOOLS_METHOD` to one of:
* `node`
* `python`
* `ruby`
* `php`
* `perl`

Note that you can't (currently) choose which `perl` sublibrary to use, it will use either `URI::Encode`, `URI::Escape`, or regular expressions in that order of preference.
2012-12-02 23:06:11 -07:00
Brian Hartvigsen
39e5c9a6d7 Backwards Compatible Jira URLs #1378
Adds support for Rapid Board without breaking backwards compatibility (like #1378)
Allows JIRA url to be set in .zshrc, current directory, and/or home directory.
2012-12-02 22:59:05 -07:00
J. Randall Hunt
b9d5a39098 use lazy load for virtualenvwrapper
Using lazy loading for virtualenvwrapper gives a mariginal speed
improvement and doesn't stop workon_cd from working. It has the
undesired effect of forcing you to call certain virtualenv commands
twice before they work (only once per shell instantiation).
2012-12-02 16:40:40 -05:00
Lucas Sampaio
51e05b7579 hg_current_branch added to mercurial plugin 2012-12-02 13:11:55 -08:00
Robby Russell
f8343b0fd9 Merge pull request #1457 from NeuralSandwich/master
Battery plugin: Fixed Kernel type detection
2012-12-02 13:08:30 -08:00
Robby Russell
fcc8b19253 Merge pull request #1328 from mfoo/master
Fix autojump plugin error on Linux with manual installation of autojump
2012-12-02 13:05:28 -08:00
Robby Russell
228c3fc89f Merge pull request #1301 from bencao/master
fix rvm plugin auto complete not work problem
2012-12-02 13:04:14 -08:00
Robby Russell
ef4e2aa26d Merge pull request #1293 from cenkalti/master
Look virtualenvwrapper plugin in PATH
2012-12-02 13:03:28 -08:00
Robby Russell
d19e01b140 Merge pull request #1191 from r-darwish/themes-plugin
Themes plugin
2012-12-02 12:50:40 -08:00
Robby Russell
275e7cba8f Merge pull request #1235 from henryyan/master
Improved maven plugin added a lot of auto complection, add git-extras plugin
2012-12-02 12:48:45 -08:00
Robby Russell
4cad0a48fd Merge pull request #1241 from agrimaldi/git-extras
plugin for git-extras
2012-12-02 12:46:30 -08:00
Robby Russell
127a47b2bd Merge pull request #1249 from korjavin/aptitude
alias at=aptitude broke /usr/bin/at scheduler.
2012-12-02 12:45:03 -08:00
Robby Russell
e89f950985 Merge pull request #1256 from seegno/master
Added sf Symfony2 binary alias
2012-12-02 12:43:59 -08:00
Robby Russell
96f35e6949 Merge pull request #1259 from bwl/sublime-fix
Adding logic for ~/Applications folder installs of Sublime Text 2
2012-12-02 12:43:07 -08:00
Robby Russell
9977afc0b5 Merge pull request #1263 from tedv/headless-git
Make git use sha when branch name is missing.
2012-12-02 12:42:38 -08:00