]> git.ipfire.org Git - thirdparty/git.git/commit - branch.c
Merge branch 'js/branch-track-inherit'
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Jan 2022 19:52:54 +0000 (11:52 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jan 2022 19:52:54 +0000 (11:52 -0800)
commit0669bdf4ebc095a2b26654292e1ff38245ccf88a
treee1cbee05b782fabade7aefc3767ffdbf28f75dfd
parent4b51386bbfc5d26e552c3c4be135e31cd2f64b44
parent44f14a9d24cd9f04a0a789e58968d52d44d7f332
Merge branch 'js/branch-track-inherit'

"git -c branch.autosetupmerge=inherit branch new old" makes "new"
to have the same upstream as the "old" branch, instead of marking
"old" itself as its upstream.

* js/branch-track-inherit:
  config: require lowercase for branch.*.autosetupmerge
  branch: add flags and config to inherit tracking
  branch: accept multiple upstream branches for tracking
Documentation/config/branch.txt
Documentation/git-branch.txt
Documentation/git-checkout.txt
Documentation/git-switch.txt
branch.c
builtin/branch.c
builtin/checkout.c
config.c
parse-options.h
t/t2017-checkout-orphan.sh
t/t3200-branch.sh