diff options
| author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-02-21 17:32:05 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-02-24 09:10:22 -0800 |
| commit | 30d6c6eabfefed330bebbed9126fe21bf349fd6b (patch) | |
| tree | 8337fc42c2ccc86b47582f75478a92a7fc1a0844 /diffcore-rename.c | |
| parent | find_pack_entry(): document last_found_pack (diff) | |
| download | git-30d6c6eabfefed330bebbed9126fe21bf349fd6b.tar.gz git-30d6c6eabfefed330bebbed9126fe21bf349fd6b.zip | |
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 <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rename.c')
0 files changed, 0 insertions, 0 deletions
