Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_name.c: many short names can only be committish
[gitweb.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index 1bafa45a7ec65a5df1c6bf79f8706faa23bea961..1508fdb77a03b982167a1c3453ca92de514bb6e8 100644
(file)
--- a/
cache.h
+++ b/
cache.h
@@
-812,6
+812,8
@@
struct object_context {
};
#define GET_SHA1_QUIETLY 01
+#define GET_SHA1_COMMIT 02
+#define GET_SHA1_COMMITTISH 04
extern int get_sha1(const char *str, unsigned char *sha1);
extern void maybe_die_on_misspelt_object_name(const char *name, const char *prefix);