diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-07-02 12:56:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-03 10:24:11 -0700 |
commit | 249c8f4a164c8502f8274c505a48b9c686f458d0 (patch) | |
tree | de813b93fbe7e3533a4df6431d7185c33f877b55 /cache.h | |
parent | 8c135ea260a84ef71899c8bd23bb39425288f9fe (diff) | |
download | git-249c8f4a164c8502f8274c505a48b9c686f458d0.tar.gz |
sha1_name.c: get rid of get_sha1_with_mode()
There are only two callers, and they will benefit from being able to
pass disambiguation hints to underlying get_sha1_with_context() API
once it happens.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -812,7 +812,6 @@ struct object_context { }; extern int get_sha1(const char *str, unsigned char *sha1); -extern int get_sha1_with_mode(const char *str, unsigned char *sha1, unsigned *mode); extern void maybe_die_on_misspelt_object_name(const char *name, const char *prefix); extern int get_sha1_with_context(const char *str, unsigned char *sha1, struct object_context *orc); |