diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-06 10:53:58 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-06 10:53:58 -0200 |
commit | d8d54ebb5cc619eae47418a55aa19c2e36265a90 (patch) | |
tree | acbe163ee886f6b3cfd5b6c6502243037a2dfcef /inception | |
parent | 86a4dee86f07254b925c7b84f614a4e4dfeec253 (diff) | |
download | apps-d8d54ebb5cc619eae47418a55aa19c2e36265a90.tar.gz apps-d8d54ebb5cc619eae47418a55aa19c2e36265a90.tar.bz2 |
Inception: status command
Diffstat (limited to 'inception')
-rwxr-xr-x | inception | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -143,6 +143,11 @@ function inception_merge { ) } +# Repository status +function inception_status { + ( cd $DIRNAME && git status --ignored && git submodule foreach --recursive git status --ignored ) +} + # Main if [ -z "$1" ]; then inception_usage @@ -160,6 +165,8 @@ elif [ "$1" == "fetch" ]; then inception_fetch elif [ "$1" == "merge" ]; then inception_merge +elif [ "$1" == "status" ]; then + inception_status else inception_usage fi |