posh-git v1.0.0-beta5 Release Notes

Release Date: 2021-02-14 // over 1 year ago
  • ➕ Added

    • ➕ Added --renormalize to the "git add" parameters for tab-completion. (PR #791) Thanks @dannoe
    • Pass PowerShell aliases down to posh-git TabExpansion autocomplete function (#257) (PR #779) Thanks @csc027
    • Autocomplete user-defined pretty formats (#786) (PR #802) Thanks @rdnlsmith
    • ➕ Add warning for cygwin version of git, which does not play nicely (#771) (PR #807)
    • ➕ Add BeforePath and AfterPath settings (#821) (PR #822) Thanks @breisfeld Brad Reisfeld

    🔄 Changed

    • 🏁 $GitPromptSettings.DefaultPromptAbbreviateHomeDirectory defaults to $false on Windows. When enabled, ~ is always substituted for the user's home path. Before this change, when directly in your home dir, this setting would result in the full path displayed in the prompt e.g. C:\Users\Keith. After this change, ~ will be displayed. The new behavior is consistent with how the home path is displayed in prompts in other shells on Linux. (#746) (PR #801)
    • ➕ Adds --no-optional-locks when invoking git to reduce conflicts with other tools. (PR #774) Thanks @jessehouwing

    🛠 Fixed

    • Put 'CACHE ERROR' in prompt when GitStatusCache returns failure. (PR #759) Thanks @cmarcusreid
    • Honor EnableStashStatus when using cache (#761) (PR #762)
    • Register-ArgumentCompleter based tab-expansion in beta4 doesn't work with PowerShell aliases to git,tgit,gitk. (#769) (PR #770)
    • ✅ Module now works in (and is tested in) strict mode (PR #783)
    • "git help --all" output breaks $GitTabSettings.AllCommands = $true. (#788) (PR #790) Thanks @dannoe
    • 🛠 Fixed non-ascii git branch name garbled (PR #796) Thanks @LittleboyHarry
    • 🛠 Fix tab completion of branches in different worktrees (PR #805) Thanks @wallybh
    • Using DarkYellow no longer results in extra $Errors (PR #806)