Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mingw: allow for longer paths in parse_interpreter() #3165

Commits on Apr 2, 2021

  1. mingw: allow for longer paths in parse_interpreter()

    As reported in newren/git-filter-repo#225, it
    looks like 99 bytes is not really sufficient to represent e.g. the full
    path to Python when installed via Windows Store (and this path is used
    in the hasb bang line when installing scripts via `pip`).
    
    Let's increase it to what is probably the maximum sensible path size:
    248 (the same as for `CreateDirectory()`).
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    dscho committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    5740c2b View commit details
    Browse the repository at this point in the history