aboutsummaryrefslogtreecommitdiffstats
path: root/repository/git.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-10 18:30:46 +0100
committerGitHub <noreply@github.com>2019-11-10 18:30:46 +0100
commit802b61e254c40042028d5f08bbed0968e78da265 (patch)
tree1672ea2925533bee62947f6e0a7027b1bff1cb7e /repository/git.go
parent350ab761d7b07df9bd49123130fe9807ea9a3d7e (diff)
parente0b15ee7644c20533156850e0be5a07597967450 (diff)
downloadgit-bug-802b61e254c40042028d5f08bbed0968e78da265.tar.gz
Merge pull request #219 from MichaelMure/global-config
Global config, global bridge token
Diffstat (limited to 'repository/git.go')
-rw-r--r--repository/git.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/repository/git.go b/repository/git.go
index 2b00d1f2..2c72fccd 100644
--- a/repository/git.go
+++ b/repository/git.go
@@ -15,11 +15,15 @@ import (
"github.com/MichaelMure/git-bug/util/lamport"
)
-const createClockFile = "/git-bug/create-clock"
-const editClockFile = "/git-bug/edit-clock"
+const (
+ createClockFile = "/git-bug/create-clock"
+ editClockFile = "/git-bug/edit-clock"
+)
-// ErrNotARepo is the error returned when the git repo root wan't be found
-var ErrNotARepo = errors.New("not a git repository")
+var (
+ // ErrNotARepo is the error returned when the git repo root wan't be found
+ ErrNotARepo = errors.New("not a git repository")
+)
var _ ClockedRepo = &GitRepo{}