Merge branch 'jc/push-default-explicit' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2016 19:38:00 +0000 (11:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2016 19:38:00 +0000 (11:38 -0800)
commitd63f3777af69c78bbee303852c5a08cdbacb77a2
tree2292840e4b13a59d8488d4bbf99e6307ae50e9a2
parent0c77e39cd5afcd3d378ab5bbfc1a20e81cfbe251
parentb284495e93394394f7c7923f6d646947844cec04
Merge branch 'jc/push-default-explicit' into next

A lazy "git push" without refspec did not internally use a fully
specified refspec to perform 'current', 'simple', or 'upstream'
push, causing unnecessary "ambiguous ref" errors.

* jc/push-default-explicit:
  push: test pushing ambiguously named branches
  push: do not use potentially ambiguous default refspec
builtin/push.c