From 17c4db02212b4e6b5124a1d9104fcffcc4bf62a3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 8 Oct 2013 11:48:56 -0300 Subject: Metadot: new 'version' option --- metadot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metadot b/metadot index 1f39888..3ba6c28 100755 --- a/metadot +++ b/metadot @@ -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 -- cgit v1.2.3