branch, checkout: introduce autosetuppush
commit4f67cc0d57d7e330e4db8ac054a39e76b8cb8ad1
authorPaolo Bonzini <bonzini@gnu.org>
Sun, 12 Jul 2009 12:17:33 +0000 (12 14:17 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 12 Jul 2009 20:48:36 +0000 (12 13:48 -0700)
treec00c3ca712dccba9c4ae88a3f21f3da7f5920b98
parent08e6b602bac273b218fbd441cea1915b5bb89a67
branch, checkout: introduce autosetuppush

The autosetuppush configuration arranges so that whenever
a merge configuration is setup, a push refspec is added for
the remote.

This is a step towards providing the functionality currently
enabled by push.default=tracking on a per-remote basis, and
without the restriction of pushing a single branch at a time.

Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
branch.c
cache.h
config.c
environment.c
t/t3200-branch.sh