From: Michael Haggerty Date: Fri, 21 Feb 2014 16:32:05 +0000 (+0100) Subject: sha1_file_name(): declare to return a const string X-Git-Tag: v2.0.0-rc0~117^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/30d6c6eabfefed330bebbed9126fe21bf349fd6b?ds=inline;hp=30d6c6eabfefed330bebbed9126fe21bf349fd6b sha1_file_name(): declare to return a const string 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 Signed-off-by: Junio C Hamano ---