diff options
| author | Johann Weging <[email protected]> | 2013-10-08 14:39:05 +0200 |
|---|---|---|
| committer | Johann Weging <[email protected]> | 2013-10-08 14:39:05 +0200 |
| commit | f03cec5375d22bda9efebb01e78d9e752ee2b498 (patch) | |
| tree | 9a9619741201c9983581d4d9d64b454b819824ba /branch.go | |
| parent | ff5150e6c9a0e9f82eb3c26df96f8839242589ca (diff) | |
branch: Changed BranchT to BranchType
Diffstat (limited to 'branch.go')
| -rw-r--r-- | branch.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -17,11 +17,11 @@ var ErrEUser = errors.New("Error in user callback function") type ListFlags uint -type BranchT uint +type BranchType uint const ( - BRANCH_LOCAL BranchT = C.GIT_BRANCH_LOCAL - BRANCH_REMOTE = C.GIT_BRANCH_REMOTE + BRANCH_LOCAL BranchType = C.GIT_BRANCH_LOCAL + BRANCH_REMOTE = C.GIT_BRANCH_REMOTE ) const ( @@ -115,7 +115,7 @@ func (branch *Branch) IsHead() (bool, error) { } -func (repo *Repository) BranchLookup(branchName string, branchType BranchT) (*Branch, error) { +func (repo *Repository) BranchLookup(branchName string, branchType BranchType) (*Branch, error) { branch := new(Branch) cName := C.CString(branchName) |
