aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-09 01:56:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-09 01:56:22 -0300
commit8860eba506e5ca9d579672608951fe083ff56963 (patch)
tree6992df2c88e53363f47d0e5064eddb6b5164ac1c
parent05b94f0c7147fe28db4427691df2823d2b7a29dc (diff)
downloadmetadot-8860eba506e5ca9d579672608951fe083ff56963.tar.gz
metadot-8860eba506e5ca9d579672608951fe083ff56963.tar.bz2
Implements signed commits
-rw-r--r--README.mdwn3
-rwxr-xr-xmetadot2
2 files changed, 2 insertions, 3 deletions
diff --git a/README.mdwn b/README.mdwn
index 7c9f3d7..6417111 100644
--- a/README.mdwn
+++ b/README.mdwn
@@ -21,8 +21,7 @@ Get the code:
Then check the source integrity of the latest release:
- tag="`git describe --abbrev=0 --tags`"
- git tag -v $tag && git checkout $tag
+ git log --show-signature -n 1
Save the metadot repository anywhere but make sure it's available in your `$PATH`.
I'm my config I use `~/apps/metadot`.
diff --git a/metadot b/metadot
index db6551d..328cddc 100755
--- a/metadot
+++ b/metadot
@@ -124,7 +124,7 @@ if [ -z "$OPT" ]; then
elif [ "$OPT" == "ls" ]; then
ls -1 $MODULES
elif [ "$OPT" == "version" ]; then
- ( cd $DOT && git log -n 1 )
+ ( cd $DOT && git log --show-signature -n 1 )
elif [ "$OPT" == "update" ]; then
if [ -d "$DOT/.git" ]; then
( cd $DOT && git pull origin master && git submodule update --init --recursive )