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

Empty remediation commit - ok or bad? #207

Open
hexagonrecursion opened this issue Dec 19, 2023 · 0 comments
Open

Empty remediation commit - ok or bad? #207

hexagonrecursion opened this issue Dec 19, 2023 · 0 comments

Comments

@hexagonrecursion
Copy link

  1. If remediation commits are allowed, the app will warn:

    Please note: You should avoid adding empty commits (i.e., git commit -s --allow-empty), because these will be discarded if someone rebases the branch / repo.

  2. On the other hand here the OP suggested adding a UI button that adds empty remediation commits and no one said "empty commit = bad". To me this suggests that the recommendation above does not reflect commonly accepted wisdom.

I think the concern about rebase discarding remediation commits might be moot because remediation commits contain the commit id of the specific commit they are retroactively adding a sign-off to. If the branch is rebased, the remediation commits (even if preserved) will now contain incorrect commit id.

What am I missing?

@brianwarner @gr2m

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

No branches or pull requests

1 participant