Skip to content

File History is empty if capitalization of path name deviates from git #11886

@mstv

Description

@mstv

Environment

  • GitExtensions version: 5.0 pre
  • Git 2.46.0.windows.1

Issue description

The File History is empty if the capitalization of the Windows path name deviates from git.
Git does not update the capitalization of path names on checkout.
In the GE repo, the folder "Setup" was renamed to "setup".
Unfortunately, the File History uses the capitalization in the file system for setting the filter - although it is called with git capitalization.

Steps to reproduce

  • clone the GE repo with checkout of commit e.g. 967ecc4 (before the renaming in 8863b8b)
  • open File History of setup/assets/Logo/GitExtensionsLogoWide.png, which was changed in commit ba4deca

Did this work in previous version of GitExtensions?

No response

Diagnostics

GitExtensions.exe filehistory "setup/assets/Logo/GitExtensionsLogoWide.png" ba4deca6deca7323e278045459a8abe217892be2 

affects FormFileHistory only, i.e. with

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions