summaryrefslogtreecommitdiff
path: root/branch.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2014-10-28 11:59:04 +0100
committerCarlos Martín Nieto <[email protected]>2014-10-28 11:59:04 +0100
commitccfce74e182a5c588e20f6ed701e0a67e820de8e (patch)
tree1f8172827cc8306888d6678ffd8ccd7b09e1b4fa /branch.go
parent9c6db70fc2836b6f5eb56c505f9cc82461b999c3 (diff)
parent668aa5dae1690d1a061da728f83b2450485d47f4 (diff)
Merge pull request #129 from libgit2/cmn/const-type
Make the constants have types
Diffstat (limited to 'branch.go')
-rw-r--r--branch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/branch.go b/branch.go
index 48db67e..95c3807 100644
--- a/branch.go
+++ b/branch.go
@@ -15,7 +15,7 @@ type BranchType uint
const (
BranchLocal BranchType = C.GIT_BRANCH_LOCAL
- BranchRemote = C.GIT_BRANCH_REMOTE
+ BranchRemote BranchType = C.GIT_BRANCH_REMOTE
)
type Branch struct {