• J
    branch.autosetupmerge: allow boolean values, or "all" · 4017761f
    Johannes Schindelin 提交于
    Junio noticed that switching on autosetupmerge unilaterally started
    cluttering the config for local branches.  That is not the original
    intention of branch.autosetupmerge, which was meant purely for
    convenience when branching off of remote branches, but that semantics
    got lost somewhere.
    
    If you still want that "new" behavior, you can switch
    branch.autosetupmerge to the value "all".  Otherwise, it is interpreted
    as a boolean, which triggers setting up defaults _only_ when branching
    off of a remote branch, i.e. the originally intended behavior.
    Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    4017761f
builtin-branch.c 16.8 KB