-
Notifications
You must be signed in to change notification settings - Fork 62
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
stg push (Rust version) fails #192
Comments
The root of this problem is that StGit is using the Using BUT, I don't think it's reasonable for StGit to drop support for git versions that are less than a year old, so the plan is to stop using I need to audit the various code paths that end up using I have also figured out why the error is misapplied to |
The --allow-empty option to `git apply` is relatively new, first appearing in git 2.35.0. Although its behavior is pretty ideal for many StGit applications, it needs to be avoided to maintain compatibility with (only slightly) older git versions. Also repair the related issue where the failure of the `git apply` command was misattributed to `git diff-tree`. This could occur in cases where the output of a diff-tree process was routed to the stdin of an apply process. The solution is to explicitly test the return status of the downstream apply process before testing the status of the upstream diff-tree process. Repairs #192
For some reason, if I do this (on a Linux kernel repository):
The changes don't need to conflict. I think if it requires a three-way merge it fails to push but doesn't say anything more about how
git diff-tree
failed.Additional info:
The text was updated successfully, but these errors were encountered: