Commit Graph

8 Commits

Author SHA1 Message Date
Yamashita, Yuu
c468d9f4b2 Merge pull request #2 from jawshooah/patch-1
Ensure update is a fast-forward merge
2015-07-01 01:01:09 +09:00
Josh Hagins
ff45670e97 Ensure update is a fast-forward 2015-06-30 11:57:55 -04:00
Yamashita, Yuu
b9376c9a7f Merge pull request #1 from jimmywan/patch-1
Update git status to use porcelain
2015-06-03 08:11:34 +09:00
jimmywan
f3d33dabbe Update git status to use porcelain
pyenv-update was failing for me with the following errors, even though I had no local changes:

$ pyenv update
Updating /home/vagrant/.pyenv...
pyenv-update: /home/vagrant/.pyenv is not clean
Updating /home/vagrant/.pyenv/plugins/pyenv-doctor...
pyenv-update: /home/vagrant/.pyenv/plugins/pyenv-doctor is not clean
Updating /home/vagrant/.pyenv/plugins/pyenv-pip-rehash...
pyenv-update: /home/vagrant/.pyenv/plugins/pyenv-pip-rehash is not clean
Updating /home/vagrant/.pyenv/plugins/pyenv-update...
pyenv-update: /home/vagrant/.pyenv/plugins/pyenv-update is not clean
Updating /home/vagrant/.pyenv/plugins/pyenv-virtualenvwrapper...
pyenv-update: /home/vagrant/.pyenv/plugins/pyenv-virtualenvwrapper is not clean
Updating /home/vagrant/.pyenv/plugins/pyenv-which-ext...
pyenv-update: /home/vagrant/.pyenv/plugins/pyenv-which-ext is not clean

I've updated the script to use --porcelain instead of --short.
From the man page:
"       --porcelain
           Give the output in an easy-to-parse format for scripts. This is similar to the short output, but will remain
           stable across Git versions and regardless of user configuration. See below for details."
2015-05-06 12:00:10 -05:00
Yamashita Yuu
1da322f6db Colorize output 2014-01-24 00:06:57 +09:00
Yamashita Yuu
ab462c8bb1 fix broken verify_repo_clean. chdir to git repo before invoking git status 2013-06-11 15:48:41 +09:00
Yamashita Yuu
77bb04ee05 apply -n to git remote show to skip ls-remote 2013-06-11 15:47:46 +09:00
Yamashita Yuu
5ee5d653d5 create project 2013-05-31 20:45:38 +09:00