]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
get_short_sha1: make default disambiguation configurable
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index 7bd78ca282bbf15ed1d41b7820d59e7c3a2fe7c2..f346c01708d1a190700f4895d6975d86c1b551b4 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -1222,6 +1222,8 @@ extern int get_oid(const char *str, struct object_id *oid);
 typedef int each_abbrev_fn(const unsigned char *sha1, void *);
 extern int for_each_abbrev(const char *prefix, each_abbrev_fn, void *);
 
+extern int set_disambiguate_hint_config(const char *var, const char *value);
+
 /*
  * Try to read a SHA1 in hexadecimal format from the 40 characters
  * starting at hex.  Write the 20-byte result to sha1 in binary form.