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

msys2-runtime: restore fast path for current user primary group #124

Merged
merged 1 commit into from
Aug 29, 2023

Commits on Aug 28, 2023

  1. msys2-runtime: restore fast path for current user primary group

    A recent commit removed an optimization from the Cygwin runtime that
    fetches the default group from the current user token: At times, this is
    not accurate such as when groups like the builtin Administrators group
    is the primary group.
    
    However, removing this optimization causes extremely poor
    performance when connected to some Active Directory
    environments.
    
    Reflecting git-for-windows/msys2-runtime#57,
    this update restores this optimization as the default behaviour. To
    still allow the user to opt into the correct behavior, a `group:
    db-accurate` option is provided for `nsswitch.conf`.
    
    This fixes git-for-windows/git#4459
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    dscho committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    bfade9b View commit details
    Browse the repository at this point in the history