author | Junio C Hamano <gitster@pobox.com> | |
Sun, 15 May 2011 19:54:52 +0000 (12:54 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 15 May 2011 22:23:33 +0000 (15:23 -0700) | ||
commit | 4bbf5a2615420ac50c696b72dc303727e6218562 | |
tree | d829a6b6fcac5228fb1964239b3d8a582d58a25f | tree | snapshot |
parent | abb25ac365791e16563dfd09e4ecd3e7e4dcf6b1 | commit | diff |
read_sha1_file(): get rid of read_sha1_file_repl() madness
Most callers want to silently get a replacement object, and they do not
care what the real name of the replacement object is. Worse yet, no sane
interface to return the underlying object without replacement is provided.
Remove the function and make only the few callers that want the name of
the replacement object find it themselves.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Most callers want to silently get a replacement object, and they do not
care what the real name of the replacement object is. Worse yet, no sane
interface to return the underlying object without replacement is provided.
Remove the function and make only the few callers that want the name of
the replacement object find it themselves.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/mktag.c | diff | blob | history | |
cache.h | diff | blob | history | |
object.c | diff | blob | history | |
sha1_file.c | diff | blob | history |