From 9ab8967ac69a26c6a829d82696d9d56bb92dc6ad Mon Sep 17 00:00:00 2001 From: MJB <mjb@it-innovation.soton.ac.uk> Date: Sun, 25 Mar 2018 17:03:00 +0100 Subject: [PATCH] adding commit count --- .githooks/post-commit | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.githooks/post-commit b/.githooks/post-commit index 01c8921..fffb01b 100644 --- a/.githooks/post-commit +++ b/.githooks/post-commit @@ -1,3 +1,4 @@ #!/bin/bash -git show --abbrev-commit --pretty=format:%h > git-commit-count -git describe --all --long > git-commit-version \ No newline at end of file +mkdir .build-config +git rev-list --count integration > .build-config/git-commit-count +git describe --all --long > .build-config/git-commit-version \ No newline at end of file -- GitLab