From fdae9ebe0320c11472a1516fa1fa778e73004cc4 Mon Sep 17 00:00:00 2001
From: MJB <mjb@it-innovation.soton.ac.uk>
Date: Sun, 25 Mar 2018 16:57:21 +0100
Subject: [PATCH] adding commit count

---
 .githooks/post-commit | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.githooks/post-commit b/.githooks/post-commit
index eb805fe..4959421 100644
--- a/.githooks/post-commit
+++ b/.githooks/post-commit
@@ -1,2 +1,4 @@
 #!/bin/bash
-git describe --all --long > git-commit-version.txt
\ No newline at end of file
+mkdir config
+git show --abbrev-commit --pretty=format:%h >config/.git-commit-count
+git describe --all --long > config/.git-commit-version
\ No newline at end of file
-- 
GitLab