timeglass / glass

Automated time tracking for Git repositories. [DEPRECATED]
Mozilla Public License 2.0
583 stars 27 forks source link

Prevent Init Error when no remote is present #45

Closed advdv closed 9 years ago

advdv commented 9 years ago

Some repositories run without a remote being present, this should not show:

Timeglass: hooks written
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
2015/06/14 22:10:01 [Timeglass Error]: Failed to pull time data: Failed to fetch from remote 'origin' using git command [fetch origin refs/notes/time-spent:refs/notes/time-spent]: exit status 128
advdv commented 9 years ago

This is fixed in version 0.6.0