Skip to content

Conversation

mstv
Copy link
Member

@mstv mstv commented Dec 20, 2024

Fixes #12107

Proposed changes

  • FormFileHistory: Do not call GetFileBlobHash for artificial revisions, use File.Exists insteads

Screenshots

N/A

Test methodology

  • manual

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

Do not call GetFileBlobHash with artificial ObjectId
@mstv mstv self-assigned this Dec 20, 2024
Copy link
Member

@gerhardol gerhardol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The disabled tabs could be made visible (with limitations as is in FormBrowse, but this is good enough (I consider FormFileHistory deprecated).

@RussKie
Copy link
Member

RussKie commented Dec 20, 2024

I consider FormFileHistory deprecated

I don't. I prefer it to the FormBrowse.

@mstv mstv merged commit 2e4ef59 into gitextensions:master Dec 21, 2024
4 checks passed
@mstv mstv deleted the fix/12107_getfileblobhash_for_artificial branch December 21, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NBug] Tried to get blob for unsupported revision: 111111111111111...
3 participants