From: Junio C Hamano Date: Thu, 21 Mar 2013 21:02:27 +0000 (-0700) Subject: Merge branch 'jc/fetch-raw-sha1' X-Git-Tag: v1.8.3-rc0~206 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e4e1c5499056de58f7df207cf41274a321857c77 Merge branch 'jc/fetch-raw-sha1' Allows requests to fetch objects at any tip of refs (including hidden ones). It seems that there may be use cases even outside Gerrit (e.g. $gmane/215701). * jc/fetch-raw-sha1: fetch: fetch objects by their exact SHA-1 object names upload-pack: optionally allow fetching from the tips of hidden refs fetch: use struct ref to represent refs to be fetched parse_fetch_refspec(): clarify the codeflow a bit --- e4e1c5499056de58f7df207cf41274a321857c77 diff --cc cache.h index e493563f4c,03b3285e4f..6818d87fa0 --- a/cache.h +++ b/cache.h @@@ -1015,9 -1008,13 +1015,10 @@@ struct ref char *symref; unsigned int force:1, - requires_force:1, + forced_update:1, merge:1, - deletion:1; - nonfastforward:1, - not_forwardable:1, - update:1, + deletion:1, + matched:1; enum { REF_STATUS_NONE = 0, REF_STATUS_OK,