diff options
| author | lhchavez <[email protected]> | 2020-12-04 19:54:26 -0800 |
|---|---|---|
| committer | lhchavez <[email protected]> | 2021-09-05 18:52:01 -0700 |
| commit | b78bde3d74b1617d5b635723552aaec0583eb054 (patch) | |
| tree | 16c98859171b6483b61ac710672694d823db2e1b /git.go | |
| parent | 5def02a589a2c1653f4bb515fdec290361a222be (diff) | |
Make all Options objects consistent
This change makes all Options objects have child Option fields as values
(instead of pointers) to mirror the libgit2 interface. It also names
them Options instead of Opts to match the current libgit2 nomenclature
and removes the Version fields.
Diffstat (limited to 'git.go')
| -rw-r--r-- | git.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ func NewOid(s string) (*Oid, error) { } if len(slice) != 20 { - return nil, &GitError{"Invalid Oid", ErrorClassNone, ErrGeneric} + return nil, &GitError{"invalid oid", ErrorClassNone, ErrorCodeGeneric} } copy(o[:], slice[:20]) |
