From 0d0bd0ed606e41aba64de34d9509d80a1fe26ea2 Mon Sep 17 00:00:00 2001 From: Alexey Alekhin Date: Wed, 5 Mar 2014 13:28:45 +0100 Subject: [PATCH] Made pre-commit hook not so strict --- Readme.md | 2 ++ gtm | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index e988ce2..21dab6c 100644 --- a/Readme.md +++ b/Readme.md @@ -2,6 +2,8 @@ It is a tool for tracking time, that you spend on commits in your git repositories and managing tasks. +![TODOs by CodeNotes](http://codenotes.me/badge/8855986/todos.png) + ## Usage ### Time tracking diff --git a/gtm b/gtm index 6eaddf9..b841880 100755 --- a/gtm +++ b/gtm @@ -8,7 +8,7 @@ # GNU General Public License version 3 or any later version, incorporated # herein by reference. -VERSION="0.9.0" +VERSION="0.9.1" export GIT_NOTES_DISPLAY_REF="refs/notes/timetracker" @@ -139,8 +139,7 @@ echo '#!/bin/bash # check if the timer is not zero time=$(gtm status --seconds) if (( $time == 0 )); then - echo "`tput setaf 1`You forgot to set the timer!`tput sgr0`" - exit 1 + echo "`tput setaf 1`You forgot to set the timer!`tput sgr0` See 'gtm help amend'" fi' }