From 022e9d12e8b7485f2a507ae251010cf88a23d4ce Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 3 Apr 2017 20:49:35 -0300 Subject: Fixes arg parsing and displayal of remote version --- inception | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'inception') diff --git a/inception b/inception index 8ee6dde..3d536a3 100755 --- a/inception +++ b/inception @@ -124,12 +124,12 @@ function inception_version { echo "origin/master branch:" echo "=====================" echo "" - ( cd $DIRNAME && $GIT log --show-signature -n 1 --branches=origin/master ) + ( cd $DIRNAME && $GIT log --show-signature -n 1 --remotes --branches=origin/master ) } # Fetch function inception_fetch { - ( cd $DIRNAME && $GIT fetch --all && $GIT log --show-signature -n 1 --branches=origin/master ) + ( cd $DIRNAME && $GIT fetch --all && $GIT log --show-signature -n 1 --remotes --branches=origin/master ) } # Merge @@ -154,4 +154,6 @@ elif [ "$1" == "fetch" ]; then inception_fetch elif [ "$1" == "merge" ]; then inception_merge +else + inception_usage fi -- cgit v1.2.3