diff options
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 |