Skip to content

Store hunk count in band tail - #133

Merged
sourcefrog merged 4 commits into
mainfrom
hunk-count
Jun 30, 2020
Merged

sourcefrog merged 4 commits into
mainfrom
hunk-count

Conversation

@sourcefrog

Copy link
Copy Markdown
Owner

Fixes the core part of #70 although there is some follow-on work:

  • Check during validate that all hunks up to this value are present.
  • Use this to find the number of hunks, rather than listing them, if the band is closed. (A performance optimization and maybe not very urgent.)

This supports just a little more validation, specifically that no index
hunks are missing. And in some cases it may be very slightly faster than
listing all the hunks.

This does not yet check it in `validate`.

Partially addresses #70.
@sourcefrog sourcefrog added this to the 0.6.4 milestone Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant