summaryrefslogtreecommitdiff
path: root/connected.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-19 13:34:04 +0900
committerJunio C Hamano <gitster@pobox.com>2018-10-19 13:34:04 +0900
commita1e9dff182b19a2620aab036c22389d22b9dd0be (patch)
treeadafb6980bea622e5447f219964e689e679032da /connected.h
parent4d87b38e6c1a73dbe744a30b9b3cdf88e69de7b4 (diff)
parent35f9e3e5e7a6436b50a8709e7e14a65a10cc1e7a (diff)
Merge branch 'jt/fetch-tips-in-partial-clone'
"git fetch $repo $object" in a partial clone did not correctly fetch the asked-for object that is referenced by an object in promisor packfile, which has been fixed. * jt/fetch-tips-in-partial-clone: fetch: in partial clone, check presence of targets connected: document connectivity in partial clones
Diffstat (limited to 'connected.h')
-rw-r--r--connected.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/connected.h b/connected.h
index e4c961817d..8d5a6b3ad6 100644
--- a/connected.h
+++ b/connected.h
@@ -51,9 +51,9 @@ struct check_connected_options {
#define CHECK_CONNECTED_INIT { 0 }
/*
- * Make sure that our object store has all the commits necessary to
- * connect the ancestry chain to some of our existing refs, and all
- * the trees and blobs that these commits use.
+ * Make sure that all given objects and all objects reachable from them
+ * either exist in our object store or (if the repository is a partial
+ * clone) are promised to be available.
*
* Return 0 if Ok, non zero otherwise (i.e. some missing objects)
*