changeset 606:473d1ef4f8d2

Git tags with datetime.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Thu, 31 Dec 2015 09:51:27 +0200
parents 9b330173dde4
children f5d8179656d1
files dvcs/Makefile dvcs/mygit-tags
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dvcs/Makefile	Wed Dec 23 11:42:23 2015 +0200
+++ b/dvcs/Makefile	Thu Dec 31 09:51:27 2015 +0200
@@ -32,7 +32,9 @@
 .PHONY: check
 check:
 
-BIN_FILES := mygit-nearest-tag mygit-glog myhg-nearest-tag
+HG_BIN_FILES := myhg-nearest-tag
+GIT_BIN_FILES := mygit-nearest-tag mygit-glog mygit-tags
+BIN_FILES := $(HG_BIN_FILES) $(GIT_BIN_FILES)
 
 .PHONY: install
 install:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dvcs/mygit-tags	Thu Dec 31 09:51:27 2015 +0200
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+git log --tags --simplify-by-decoration --pretty="format:%ci %d"
+