From deecb76439dfe3e4bba87c83682974e423c4170c Mon Sep 17 00:00:00 2001 From: lhchavez Date: Fri, 13 Nov 2020 18:38:11 -0800 Subject: [PATCH] Use the constant names as they were in this release --- reference.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference.go b/reference.go index 621e5cd..3288c27 100644 --- a/reference.go +++ b/reference.go @@ -497,10 +497,10 @@ const ( type ReferenceFormat uint const ( - ReferenceFormatNormal ReferenceFormat = C.GIT_REFERENCE_FORMAT_NORMAL - ReferenceFormatAllowOnelevel ReferenceFormat = C.GIT_REFERENCE_FORMAT_ALLOW_ONELEVEL - ReferenceFormatRefspecPattern ReferenceFormat = C.GIT_REFERENCE_FORMAT_REFSPEC_PATTERN - ReferenceFormatRefspecShorthand ReferenceFormat = C.GIT_REFERENCE_FORMAT_REFSPEC_SHORTHAND + ReferenceFormatNormal ReferenceFormat = C.GIT_REF_FORMAT_NORMAL + ReferenceFormatAllowOnelevel ReferenceFormat = C.GIT_REF_FORMAT_ALLOW_ONELEVEL + ReferenceFormatRefspecPattern ReferenceFormat = C.GIT_REF_FORMAT_REFSPEC_PATTERN + ReferenceFormatRefspecShorthand ReferenceFormat = C.GIT_REF_FORMAT_REFSPEC_SHORTHAND ) // ReferenceNormalizeName normalizes the reference name and checks validity.