Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set env var with git params when available #123

Merged
merged 1 commit into from
Oct 2, 2020

Conversation

calebcartwright
Copy link
Member

Changes

  • Make git params available as an environment variable for hook scripts via $RUSTY_HOOK_GIT_PARAMS
  • Add unit tests for handling of presence/absence of git params

Related Issues

@calebcartwright calebcartwright added the enhancement New feature or request label Oct 2, 2020
@calebcartwright calebcartwright added this to the 1.x Release milestone Oct 2, 2020
@calebcartwright calebcartwright added this to In progress in 1.0 Release via automation Oct 2, 2020
@codecov
Copy link

codecov bot commented Oct 2, 2020

Codecov Report

Merging #123 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #123   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          139       143    +4     
=========================================
+ Hits           139       143    +4     
Impacted Files Coverage Δ
src/rusty_hook.rs 100.00% <100.00%> (ø)

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 85c34b4...2263f80. Read the comment docs.

@calebcartwright calebcartwright merged commit 5aa74d5 into master Oct 2, 2020
1.0 Release automation moved this from In progress to Done Oct 2, 2020
@calebcartwright calebcartwright deleted the git-param-env-var branch October 2, 2020 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
1.0 Release
  
Done
Development

Successfully merging this pull request may close these issues.

Make git params available as environment variable
1 participant