summaryrefslogtreecommitdiff
path: root/walk.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 /walk.go
parent9c6db70fc2836b6f5eb56c505f9cc82461b999c3 (diff)
parent668aa5dae1690d1a061da728f83b2450485d47f4 (diff)
Merge pull request #129 from libgit2/cmn/const-type
Make the constants have types
Diffstat (limited to 'walk.go')
-rw-r--r--walk.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/walk.go b/walk.go
index 9e07411..f243e21 100644
--- a/walk.go
+++ b/walk.go
@@ -17,9 +17,9 @@ type SortType uint
const (
SortNone SortType = C.GIT_SORT_NONE
- SortTopological = C.GIT_SORT_TOPOLOGICAL
- SortTime = C.GIT_SORT_TIME
- SortReverse = C.GIT_SORT_REVERSE
+ SortTopological SortType = C.GIT_SORT_TOPOLOGICAL
+ SortTime SortType = C.GIT_SORT_TIME
+ SortReverse SortType = C.GIT_SORT_REVERSE
)
type RevWalk struct {