Skip to content

Conversation

@daxgames
Copy link
Member

@daxgames daxgames commented Apr 8, 2021

Requires the following two lines to be added to %cmder_root%vendor\clink-completions\git_prompt.lua functionload_ini(fileName)`:

local function load_ini(fileName)
    -- Check for Cmder configured Git Status Opt In/Out - See: https://github.com/cmderdev/cmder/issues/2484
    if cmderGitStatusOptIn == false then return nil end

This will allow Cmder Git Status Opt Out feature to work 100% speeding up return to prompt in large git repos where desired.

I will also be opening a PR in Clink Completions to get this change added there.

Resolves: #2484

@daxgames
Copy link
Member Author

daxgames commented Apr 8, 2021

@daxgames daxgames merged commit 37c7b1d into cmderdev:master Apr 9, 2021
@daxgames daxgames deleted the git_opt_out branch April 9, 2021 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Really slow prompt inside large git repositories even after disabling git status.

1 participant