Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

[API BREAKING] Replace Xgit.ConfigFile.add_entries/3 with ConfigFile.update/3. #303

Merged
merged 4 commits into from
Feb 16, 2020

Conversation

scouten
Copy link
Collaborator

@scouten scouten commented Feb 16, 2020

Changes in This Pull Request

Remove ability to add entries to multiple variables at once. This doesn't exist in the corresponding git command-line interface and unnecessarily complicates other implementations.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • There is test coverage for all changes.
  • All cases where a literal value is returned use the cover macro to force code coverage.
  • Any code ported from jgit maintains all existing copyright and license notices. n/a
  • If new files are ported from jgit, the path to the corresponding file(s) is included in the header comment. n/a
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment. n/a

Remove ability to add entries to multiple variables at once. This doesn't exist in the corresponding git command-line interface and unnecessarily complicates other implementations.
@scouten scouten self-assigned this Feb 16, 2020
@codecov
Copy link

codecov bot commented Feb 16, 2020

Codecov Report

Merging #303 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #303   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          30     30           
  Lines        1643   1643           
=====================================
  Hits         1643   1643
Impacted Files Coverage Δ
lib/xgit/config_file.ex 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7cee4f8...3b04a97. Read the comment docs.

Further simplifies the interface since we don't anticipate needing to add multiple values at once, even for a single variable.
@scouten scouten changed the title [API BREAKING] Simplify interface for Xgit.ConfigFile.add_entries/3. [API BREAKING] Replace Xgit.ConfigFile.add_entries/3 with ConfigFile.update/3. Feb 16, 2020
@scouten scouten merged commit 515b1e4 into master Feb 16, 2020
@scouten scouten deleted the simplify-config-file branch February 16, 2020 05:36
scouten added a commit that referenced this pull request Feb 16, 2020
* master:
  [API BREAKING] Replace Xgit.ConfigFile.add_entries/3 with ConfigFile.update/3. (#303)
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.

1 participant