From 63346653420a687c7b10bea0e0becf73996f6c5e Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Mon, 26 Jul 2021 21:07:05 +0200 Subject: reduce: mention upcoming change to indexing see: scholar:528804ad2e55983cf3e5e6659d8f46db0cab02b7 --- skate/reduce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skate') diff --git a/skate/reduce.go b/skate/reduce.go index 76b511e..7fcd091 100644 --- a/skate/reduce.go +++ b/skate/reduce.go @@ -77,7 +77,7 @@ func ZippyExact(releases, refs io.Reader, matchResult MatchResult, w io.Writer) bref.SourceWorkIdent = ref.WorkIdent bref.SourceReleaseStage = ref.ReleaseStage bref.SourceYear = fmt.Sprintf("%d", ref.ReleaseYear) - bref.RefIndex = ref.Index + 1 // we want 1-index (also helps with omitempty) + bref.RefIndex = ref.Index + 1 // we want 1-index (also helps with omitempty); TODO: was fixed with scholar:528804ad2e55983cf3e5e6659d8f46db0cab02b7 bref.RefKey = ref.Key bref.TargetReleaseIdent = target.Ident bref.TargetWorkIdent = target.WorkID -- cgit v1.2.3