branch: add --unset-upstream option
commitb84869ef14081b298a4ab825219221ccfcb2a3ba
authorCarlos Martín Nieto <cmn@elego.de>
Thu, 30 Aug 2012 17:23:12 +0000 (30 19:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Aug 2012 19:07:28 +0000 (30 12:07 -0700)
tree6fea49e42eb35e4e8d5e826b2e9f0c37597faafd
parent6183d826ba62ec94ccfcb8f6e3b8d43e3e338703
branch: add --unset-upstream option

We have ways of setting the upstream information, but if we want to
unset it, we need to resort to modifying the configuration manually.

Teach branch an --unset-upstream option that unsets this information.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt
builtin/branch.c
t/t3200-branch.sh