Merge branch 'jk/push-force-with-lease-creation' into maint
commitf34d900aa7346592a9d7fd2eb7b21126fd9732d5
authorJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2016 04:35:53 +0000 (8 21:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2016 04:35:53 +0000 (8 21:35 -0700)
treebf756b15988b94b1f045a6f53c1eec9c3c479812
parentf59c6e6ccb1386f0fdde2753f62536dfd3343118
parent9eed4f3711a605ab2d9b986357879a09a6d54f36
Merge branch 'jk/push-force-with-lease-creation' into maint

"git push --force-with-lease" already had enough logic to allow
ensuring that such a push results in creation of a ref (i.e. the
receiving end did not have another push from sideways that would be
discarded by our force-pushing), but didn't expose this possibility
to the users.  It does so now.

* jk/push-force-with-lease-creation:
  t5533: make it pass on case-sensitive filesystems
  push: allow pushing new branches with --force-with-lease
  push: add shorthand for --force-with-lease branch creation
  Documentation/git-push: fix placeholder formatting
Documentation/git-push.txt
remote.c
remote.h