Merge branch 'jc/push-default-explicit' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2017 23:11:07 +0000 (15:11 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2017 23:11:07 +0000 (15:11 -0800)
commitaf04b1171b9ed16f5acce0a49fe3bda518a40b7e
treef86d78c39008512fa399fbf20157ffac13d53190
parent943c9a7b867210f283d588e1b790d0197b66fde8
parentb284495e93394394f7c7923f6d646947844cec04
Merge branch 'jc/push-default-explicit' into maint

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