git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] transfer.hiderefs
@ 2013-01-29  0:13 Junio C Hamano
  2013-01-29  0:13 ` [PATCH v2 1/3] upload-pack: share more code Junio C Hamano
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Junio C Hamano @ 2013-01-29  0:13 UTC (permalink / raw)
  To: git

So this is the second round, unifying the handling of "hidden refs"
a hosting site administrator may want to handle differently from
normal refs available to upload-pack and receive-pack.  Big thanks
to Peff for making me realize that what is shown to "git push"
should match what is shown to "git fetch/clone".

The configuration variable has been changed to "transfer.hiderefs"
in this round.  I picked refs.[ch] as the shared location to place
the machinery that deals with this configuration, but I am not proud
of the choice---there may be a more suitable place.

The third patch is new; it prevents a hidden ref to be deleted or
updated via "git push" to ensure that its contents are controlled
only from the server side using some side channel (e.g. pull-request
UI on the Web).

There is no "git fetch $there $exact_sha1_obtained_out_of_band"
yet; that must come next, together with a mechanism to control the
availability of it on the server side.

For those who missed it, the first round starts at 

    http://thread.gmane.org/gmane.comp.version-control.git/213951

Junio C Hamano (3):
  upload-pack: share more code
  upload-pack: allow hiding ref hiearchies
  receive-pack: reject an attempt to update/delete a hidden ref

 Documentation/config.txt |  9 +++++++++
 builtin/receive-pack.c   | 24 +++++++++++++++++++++++
 refs.c                   | 41 +++++++++++++++++++++++++++++++++++++++
 refs.h                   |  3 +++
 t/t5512-ls-remote.sh     |  9 +++++++++
 t/t5516-fetch-push.sh    | 24 +++++++++++++++++++++++
 upload-pack.c            | 50 ++++++++++++++++++++++++++++++++----------------
 7 files changed, 144 insertions(+), 16 deletions(-)

-- 
1.8.1.2.548.g0e4986f

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-30  7:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-29  0:13 [PATCH v2 0/3] transfer.hiderefs Junio C Hamano
2013-01-29  0:13 ` [PATCH v2 1/3] upload-pack: share more code Junio C Hamano
2013-01-29  0:13 ` [PATCH v2 2/3] upload-pack: allow hiding ref hiearchies Junio C Hamano
2013-01-29  0:13 ` [PATCH v2 3/3] receive-pack: reject an attempt to update/delete a hidden ref Junio C Hamano
2013-01-29  5:13 ` [PATCH v2 0/3] transfer.hiderefs Junio C Hamano
2013-01-30  7:19   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).