diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-10-08 11:48:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-10-08 11:48:56 -0300 |
commit | 17c4db02212b4e6b5124a1d9104fcffcc4bf62a3 (patch) | |
tree | a72013e3bfc3c51888b60ba823dff473499e4861 | |
parent | 6964d1ae135144b28e4935e849602ab0607b4c71 (diff) | |
download | dotfiles-17c4db02212b4e6b5124a1d9104fcffcc4bf62a3.tar.gz dotfiles-17c4db02212b4e6b5124a1d9104fcffcc4bf62a3.tar.bz2 |
Metadot: new 'version' option
-rwxr-xr-x | metadot | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -77,6 +77,8 @@ if [ -z "$OPT" ]; then exit 1 elif [ "$OPT" == "ls" ]; then ls -1 $MODULES +elif [ "$OPT" == "version" ]; then + ( cd $DOT && git log -n 1 ) elif [ "$OPT" == "update" ]; then ( cd $DOT && git pull origin master && git submodule update --init ) elif [ "$OPT" == "backup" ]; then |