mirror of
https://github.com/initialcommit-com/git-sim.git
synced 2026-04-27 03:25:53 +03:00
[GH-ISSUE #75] Error on simple actions #51
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-sim#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bendem on GitHub (Mar 15, 2023).
Original GitHub issue: https://github.com/initialcommit-com/git-sim/issues/75
Here is a simple reproducer of an error for a simple rebase (one root commit, two branches with one commit in each, rebase on on the other).
@bendem commented on GitHub (Mar 15, 2023):
bisect in the hope it helps:
@initialcommit-io commented on GitHub (Mar 16, 2023):
@bendem Thanks I'll test this out and get back to you.
@initialcommit-io commented on GitHub (Mar 16, 2023):
@bendem This also appears to be related to repos with less than 5 commits on the branch being rebased. I will try and fix this and the other related issue at the same time.
@initialcommit-io commented on GitHub (Mar 16, 2023):
@bendem For now, the rebase for diverged branches should work for you as long as both branches have more than 5 commits.
@initialcommit-io commented on GitHub (Apr 1, 2023):
Just released a fix for this! Please use git-sim version 0.2.9 to take advantage of the fixes. You can upgrade git-sim with:
pip install git-sim --upgrade.I'll close this for now since it's implemented, but please let me know if you have any questions or run into any issues!
@bendem commented on GitHub (Apr 3, 2023):
Awesome! This is great work.
@initialcommit-io commented on GitHub (Apr 3, 2023):
@bendem There are a bunch of other new features in v0.2.9 if you want to check them out and let me know if you run into any issues or if anything is unclear 😄