sha1_file_name(): declare to return a const string
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 21 Feb 2014 16:32:05 +0000 (17:32 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 17:10:22 +0000 (09:10 -0800)
Change the return value of sha1_file_name() to (const char *).
(Callers have no business mucking about here.) Change callers
accordingly, deleting a few superfluous temporary variables along the
way.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found