Skip to content

Fix: Correct reset to parent revision functionality#2125

Merged
love-linger merged 1 commit intosourcegit-scm:developfrom
gadfly3173:fix/reset-to-parent
Feb 13, 2026
Merged

Fix: Correct reset to parent revision functionality#2125
love-linger merged 1 commit intosourcegit-scm:developfrom
gadfly3173:fix/reset-to-parent

Conversation

@gadfly3173
Copy link
Contributor

  • Updated ResetToParentRevisionAsync to use $"{_commit.SHA}~1" for parent revision.
  • Updated ResetMultipleToParentRevisionAsync to use $"{_commit.SHA}~1" for consistency.
  • Removed UTF-8 BOM from CommitDetail.cs to ensure proper file encoding.

- Updated `ResetToParentRevisionAsync` to use `$"{_commit.SHA}~1"` for parent revision.
- Updated `ResetMultipleToParentRevisionAsync` to use `$"{_commit.SHA}~1"` for consistency.
- Removed UTF-8 BOM from `CommitDetail.cs` to ensure proper file encoding.
@love-linger love-linger self-assigned this Feb 13, 2026
@love-linger love-linger added the bug Something isn't working label Feb 13, 2026
@love-linger love-linger merged commit 9698b66 into sourcegit-scm:develop Feb 13, 2026
13 checks passed
@gadfly3173 gadfly3173 deleted the fix/reset-to-parent branch February 13, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants