magit-insert-branch-1: replace BRANCHES argument with UREF
Instead of checking whether UPSTREAM is one of the local branches, listed in BRANCHES, check whether UREF begins with "refs/heads/". The value of UREF can be determined using the call to "git branch", while providing the value of BRANCHES made additional calls to git necessary.
Showing
Please register or sign in to comment