Skip to content

Commit

Permalink
Made pre-commit hook not so strict
Browse files Browse the repository at this point in the history
  • Loading branch information
laughedelic committed Mar 5, 2014
1 parent 7f2d304 commit 0d0bd0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions gtm
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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'
}

Expand Down

0 comments on commit 0d0bd0e

Please sign in to comment.