Merge branch 'zh/push-to-delete-onelevel-ref'
commit4a25b911cdb0cd79b6ab8b60ccbece77df03340d
authorJunio C Hamano <gitster@pobox.com>
Sun, 19 Mar 2023 22:03:10 +0000 (19 15:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Mar 2023 22:03:10 +0000 (19 15:03 -0700)
tree16789d37c5339c7cfd14551334833c8eb5b21474
parent67076b85b8f82c751fe634abb112139d6e32a5f1
parent7c3c55026c25f038d790d21fb7242229a9a08fed
Merge branch 'zh/push-to-delete-onelevel-ref'

"git push" has been taught to allow deletion of refs with one-level
names to help repairing a repository who acquired such a ref by
mistake.  In general, we don't encourage use of such a ref, and
creation or update to such a ref is rejected as before.

* zh/push-to-delete-onelevel-ref:
  push: allow delete single-level ref
  receive-pack: fix funny ref error messsage
builtin/receive-pack.c
connect.c