diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-03-18 13:38:41 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-03-18 13:38:41 -0300 |
commit | 3bcb0937cb1b053f97e88f3a03588b18ba237c7f (patch) | |
tree | 91e5542c5d4093ac248a04f498fd741fbc0c62ab /commit-updates | |
parent | b02ec21fdd426b2d3475fea2873a8965ff49224e (diff) | |
download | utils-git-3bcb0937cb1b053f97e88f3a03588b18ba237c7f.tar.gz utils-git-3bcb0937cb1b053f97e88f3a03588b18ba237c7f.tar.bz2 |
No argument support for commit-updates
Diffstat (limited to 'commit-updates')
-rwxr-xr-x | commit-updates | 6 |
1 files changed, 5 insertions, 1 deletions
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 |