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(git-node): add support for amend! commits #710

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Jun 24, 2023

Commits made using git commit --fixup=reword:HEAD are empty commits that lets the user change the commit message without needing to force-push the PR branch. With this commit, those are still ignored when using --fixupAll CLI flag.

Another change with this PR is that ncu will no longer reject PRs with empty commits, but will drop them from the rebase. Previously, empty commits were allowed only when using --fixupAll.

Tested locally with nodejs/node#48513.

Commits made using `git commit --fixup=reword:HEAD` are empty commits
that lets the user change the commit message without needing to
force-push the PR branch. With this commit, those are
still ignored when using `--fixupAll` CLI flag.
@codecov
Copy link

codecov bot commented Jun 24, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (015bf20) 83.38% compared to head (91e7cad) 83.38%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #710   +/-   ##
=======================================
  Coverage   83.38%   83.38%           
=======================================
  Files          37       37           
  Lines        4158     4158           
=======================================
  Hits         3467     3467           
  Misses        691      691           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@aduh95 aduh95 merged commit d8ae7c7 into nodejs:main Jun 26, 2023
13 checks passed
@aduh95 aduh95 deleted the amend-commits branch June 26, 2023 06:06
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.

None yet

2 participants