• D
    checkout: learn to respect checkout.guess · 64f1f58f
    Denton Liu 提交于
    The current behavior of git checkout/switch is that --guess is currently
    enabled by default. However, some users may not wish for this to happen
    automatically. Instead of forcing users to specify --no-guess manually
    each time, teach these commands the checkout.guess configuration
    variable that gives users the option to set a default behavior.
    
    Teach the completion script to recognize the new config variable and
    disable DWIM logic if it is set to false.
    Signed-off-by: NDenton Liu <liu.denton@gmail.com>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    64f1f58f
t2024-checkout-dwim.sh 9.4 KB