summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-05-02 00:25:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-02 04:59:49 (GMT)
commit6862ebbfcbdd44b68dbdcfecd432432bdf22b2e5 (patch)
treeea08f350eebbbb00a2e500fcfe7985ebc6785add /cache.h
parent14c3c80c81418e00ee990a88f526ac851411f422 (diff)
downloadgit-6862ebbfcbdd44b68dbdcfecd432432bdf22b2e5.zip
git-6862ebbfcbdd44b68dbdcfecd432432bdf22b2e5.tar.gz
git-6862ebbfcbdd44b68dbdcfecd432432bdf22b2e5.tar.bz2
sha1-file: convert freshen functions to object_id
Convert the various functions for freshening objects and has_loose_object_nonlocal to use struct object_id. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index dd1a9c6..e03a0d4 100644
--- a/cache.h
+++ b/cache.h
@@ -1275,7 +1275,7 @@ extern int has_object_file_with_flags(const struct object_id *oid, int flags);
* with the specified name. This function does not respect replace
* references.
*/
-extern int has_loose_object_nonlocal(const unsigned char *sha1);
+extern int has_loose_object_nonlocal(const struct object_id *oid);
extern void assert_oid_type(const struct object_id *oid, enum object_type expect);