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

git: add config to disable abandoning of unreachable commits #2528

Merged
merged 2 commits into from
Nov 5, 2023

Conversation

martinvonz
Copy link
Member

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

lib/src/git.rs Show resolved Hide resolved
This motivation for this is so we can easily skip calling the function
if the user has opted out of the propagation of abandoned commits we
usually do (#2504). However, it seems like a good piece of code to
extract regardless of that feature.
Some users prefer to have commits not get abandoned when importing
refs. This adds a config option for that.

Closes #2504.
@martinvonz martinvonz enabled auto-merge (rebase) November 5, 2023 13:59
@martinvonz martinvonz merged commit 7c92351 into main Nov 5, 2023
14 checks passed
@martinvonz martinvonz deleted the push-mzsvrtnoytrk branch November 5, 2023 14:10
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.

2 participants