summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-21 14:02:27 -0700
committerJunio C Hamano <gitster@pobox.com>2013-03-21 14:02:27 -0700
commite4e1c5499056de58f7df207cf41274a321857c77 (patch)
tree0db72148291ce77c21c959a5ed7fe333f1271409 /cache.h
parentc241e285e53bc84def85682eeaa265c1cd99cceb (diff)
parent6e7b66eebd18c11f58a9790b8f071618a1bb5b2c (diff)
downloadgit-e4e1c5499056de58f7df207cf41274a321857c77.tar.gz
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
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index e493563f4c..6818d87fa0 100644
--- a/cache.h
+++ b/cache.h
@@ -1017,7 +1017,8 @@ struct ref {
force:1,
forced_update:1,
merge:1,
- deletion:1;
+ deletion:1,
+ matched:1;
enum {
REF_STATUS_NONE = 0,
REF_STATUS_OK,