Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

plumbing: format/commitgraph, rename structs/fields to follow the terms used by git more closely #1134

Merged
merged 2 commits into from
Apr 26, 2019

Conversation

filipnavara
Copy link
Contributor

@filipnavara filipnavara commented Apr 25, 2019

Follows #1128 and #1133 (included now, will rebase). Conflicts with #1132 (will rebase/update depending on whichever one gets in first).

This introduces two changes:

  • Renames Node to CommitData, which is the actual name in the git documentation. Since it's anticipated that more data will eventually be added to the format in form of new chunks it seems like a good idea to name the data structures after the chunks.
  • Renames all occurrences of large edges to extra edges to follow git change. This is restricted purely to the private functions and has no effect on the exported API.

It is anticipated that commit-graph format v2 will land in git soon. I'll submit another PR to add support for it (to be merged once the change lands to git).

@mcuadros mcuadros merged commit ca5d7bb into src-d:master Apr 26, 2019
@filipnavara filipnavara deleted the commitgraph-fmt-3 branch April 26, 2019 08:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants