]> gitweb.fluxo.info Git - rhatto/apps.git/commitdiff
Inception: version action shows also origin/master branch
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 16 Mar 2017 13:40:14 +0000 (10:40 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 16 Mar 2017 13:40:14 +0000 (10:40 -0300)
inception

index 8edc8e79e478633d23de327bc5383107b279f7a7..f879166bff0c7418ebd3abd4cf6bcf0298687287 100755 (executable)
--- a/inception
+++ b/inception
@@ -110,7 +110,16 @@ EOF
 
 # Version information
 function inception_version {
+  echo "master branch:"
+  echo "=============="
+  echo ""
   ( cd $DIRNAME && git log --show-signature -n 1 )
+
+  echo ""
+  echo "origin/master branch:"
+  echo "====================="
+  echo ""
+  ( cd $DIRNAME && git log --show-signature -n 1 --branches=origin/master )
 }
 
 # Fetch