aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinception7
1 files changed, 7 insertions, 0 deletions
diff --git a/inception b/inception
index 5a1a61e..3698296 100755
--- a/inception
+++ b/inception
@@ -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