]> git.ipfire.org Git - thirdparty/git.git/commit - setup.c
sha1_name.c: get rid of get_sha1_with_mode_1()
authorJunio C Hamano <gitster@pobox.com>
Mon, 2 Jul 2012 18:01:25 +0000 (11:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jul 2012 17:22:37 +0000 (10:22 -0700)
commit8c135ea260a84ef71899c8bd23bb39425288f9fe
treedbf61be43a0bb027ff1f02a5eea02e6f0bfc67fc
parentf01cc14c3c70cfd820114505d2ddc153c28f6f89
sha1_name.c: get rid of get_sha1_with_mode_1()

The only external caller is setup.c that tries to give a nicer error
message when an object name is misspelt (e.g. "HEAD:cashe.h").
Retire it and give the caller a dedicated and more intuitive API
function maybe_die_on_misspelt_object_name().

Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
setup.c
sha1_name.c