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

[NBug] Unexpected artificial commit in Git command: 22222222222222... #10162

Closed
ADTC opened this issue Aug 22, 2022 · 1 comment · Fixed by #10163
Closed

[NBug] Unexpected artificial commit in Git command: 22222222222222... #10162

ADTC opened this issue Aug 22, 2022 · 1 comment · Fixed by #10163

Comments

@ADTC
Copy link
Contributor

ADTC commented Aug 22, 2022

Environment

  • Git Extensions 4.1.0.14868
  • Build 2c3150d (Dirty)
  • Git 2.37.1.windows.1
  • Microsoft Windows NT 10.0.19043.0
  • .NET 6.0.7
  • DPI 96dpi (no scaling)

Issue description

System.ArgumentException: Unexpected artificial commit in Git command: 2222222222222222222222222222222222222222
   at void GitCommands.ArgumentBuilderExtensions.Add(ArgumentBuilder builder, ObjectId objectId)
   at void GitUI.RevisionGridControl.PerformRefreshRevisions(Func<RefsFilter, IReadOnlyList<IGitRef>> getRefs, bool forceRefresh)+TryGetParents()
   at void GitUI.UserControls.RevisionGrid.RevisionDataGridView.SetToBeSelectedFromParents(IEnumerable<ObjectId> parents)
   at async void GitUI.RevisionGridControl.PerformRefreshRevisions(Func<RefsFilter, IReadOnlyList<IGitRef>> getRefs, bool forceRefresh)+(?) => { } [30]
   at async void GitUI.ThreadHelper.FileAndForget(Task task, Func<Exception, bool> fileOnlyIf)+(?) => { }

Steps to reproduce

Tried to filter for commit after disabling "commit message and hash" filter option, and enabling it again.

Did this work in previous version of GitExtensions?

No response

Diagnostics

No response

@duplicates-detector-bot
Copy link

Potential duplicates:

  • #6533
  • #6535
  • #7546
  • #9084
  • #9450

@ghost ghost added the 🚧 status: in progress Issues which have associated PRs label Aug 22, 2022
@ghost ghost removed the 🚧 status: in progress Issues which have associated PRs label Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants