From 3bcb0937cb1b053f97e88f3a03588b18ba237c7f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 18 Mar 2015 13:38:41 -0300 Subject: No argument support for commit-updates --- commit-updates | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'commit-updates') diff --git a/commit-updates b/commit-updates index 8292c80..571cadd 100755 --- a/commit-updates +++ b/commit-updates @@ -7,4 +7,8 @@ ARGS="$*" # Simply update commit -commit "Updates $*" +if [ ! -z "$1" ]; then + commit "Updates $*" +else + commit "Updates $(basename `pwd`)" +fi -- cgit v1.2.3