Skip to content

24.06.0

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Jun 00:23
· 5 commits to master since this release
17394d1

Changes since 24.05.0:

  • Fix special characters in file names (#388)
    Git escapes special characters in it's output when core.quotePath is
    true or unset. Git always expects unquoted file paths as input. This
    leads to issues when we consume output from git and use it to build
    input for other git commands. This commit ensures we always feed unqoted
    paths to git commands.
    The _forgit_list_files function is introduced to handle usage of git
    ls-files with the -z flag, which ensures unquoted paths.
    It replaces the direct calls to git ls-files in _forgit_reset_head,
    _forgit_stash_push and _forgit_checkout_file.
    In _git_reset_head the -z option is added to the git diff command to
    ensure unqoted paths.
    Since git clean does not support the -z flag, we disable core.quotePath
    by passing a configuration parameter in _forgit_clean. The same is done for
    _forgit_add.