Code

Add push --set-upstream
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Sat, 16 Jan 2010 21:45:31 +0000 (23:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Jan 2010 00:39:58 +0000 (16:39 -0800)
commite9fcd1e2121100d43d2d212eb6c6f1fc82aade1d
tree6a1d97f297fa15ee407e395a778c43675c95194f
parent1f73566af5bec28cd8489c6139a9ede95817349c
Add push --set-upstream

Frequent complaint is lack of easy way to set up upstream (tracking)
references for git pull to work as part of push command. So add switch
--set-upstream (-u) to do just that.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-push.txt
builtin-push.c
t/t5523-push-upstream.sh [new file with mode: 0755]
transport.c
transport.h