Skip to content

deleting a large file with a space in it the cmd is not correct quoted #11896

@heitbaum

Description

@heitbaum

Environment

  • GitExtensions version: 5.0.0.17897
  • GIT version: git version 2.42.0.windows.2
  • OS version: 23H2 22631.4037
  • .NET version: 8.0.7

Issue description

When deleting a large file with a space in it the cmd is not correct quoted:

C:\GitHub\Workplace>"C:\Program Files\Git\bin\git.exe" filter-branch -f --index-filter "git rm -r -f --cached --ignore-unmatch intune/packages/XL Upload/xl-upload.intunewin" --prune-empty -- - -all

Steps to reproduce

delete a file with a space in the directory

working syntax could be "C:\Program Files\Git\bin\git.exe" filter-branch -f --index-filter "git rm -r -f --cached --ignore-unmatch 'intune/packages/XL Upload/xl-upload.intunewin'" --prune-empty -- --all

Did this work in previous version of GitExtensions?

No response

Diagnostics

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions