aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-26 21:07:05 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-26 21:07:05 +0200
commit63346653420a687c7b10bea0e0becf73996f6c5e (patch)
treed83ba2a68341396760fccd0bd96b0eb505af8195
parentaeaa60211e33cb49da98770b3461cbca2c2a65cc (diff)
downloadrefcat-63346653420a687c7b10bea0e0becf73996f6c5e.tar.gz
refcat-63346653420a687c7b10bea0e0becf73996f6c5e.zip
reduce: mention upcoming change to indexing
see: scholar:528804ad2e55983cf3e5e6659d8f46db0cab02b7
-rw-r--r--skate/reduce.go2
1 files changed, 1 insertions, 1 deletions
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