Merge branch 'jc/push-default-explicit'
authorJunio C Hamano <gitster@pobox.com>
Tue, 27 Dec 2016 08:11:40 +0000 (00:11 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Dec 2016 08:11:40 +0000 (00:11 -0800)
commit6c18dd4dc370284417938a252ba7f1a36ad51053
treec59a2ad8ff56e6fca6ce1c8984273c7e4ae7532e
parent1d1bdafd64266e5ee3bd46c6965228f32e4022ea
parentb284495e93394394f7c7923f6d646947844cec04
Merge branch 'jc/push-default-explicit'

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