Skip to content

Conversation

sina-hide
Copy link
Contributor

Searching for a tree or blob hash instead of a commit hash created a seemingly never-ending search (internally an exception was thrown).

Examples for non-ending searches in the SourceGit repository itself are searching for 6b83a0a (that is the tree "src" of commit 190d2ee) or e686a53 (that is the file ".gitignore" in the tree of commit 190d2ee).

Searching for a tree or blob hash instead of a commit hash created a
seemingly never-ending search (internally an exception was thrown).

Examples for non-ending searches in the SourceGit repository itself are
searching for 6b83a0a (that is the tree "src" of commit 190d2ee) or
e686a53 (that is the file ".gitignore" in the tree of commit 190d2ee).
@love-linger love-linger self-assigned this Jun 30, 2025
@love-linger love-linger added the bug Something isn't working label Jun 30, 2025
@love-linger love-linger merged commit 8602ba2 into sourcegit-scm:develop Jun 30, 2025
13 checks passed
love-linger added a commit that referenced this pull request Jun 30, 2025
Move `Commands.IsCommitSHA` testing from `Commands.QuerySingleCommit` to `ViewModels.Repository.StartSearchCommits`,  because we only need test the SHA user typed in

Signed-off-by: leo <[email protected]>
@sina-hide sina-hide deleted the commit-search-never-ending branch June 30, 2025 06:22
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