OSDN Git Service

files-backend: move "logs/" out of TMP_RENAMED_LOG
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 26 Mar 2017 02:42:21 +0000 (09:42 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Mar 2017 17:23:39 +0000 (10:23 -0700)
commita5c1efd693a09bd7d058e1370869e061f94b61ed
tree3131f83f2e0305c24e810059019bb44a1b5bc0b6
parente9dcc3054fb0fdf0faafd0ef57a238f4a692fb23
files-backend: move "logs/" out of TMP_RENAMED_LOG

This makes reflog path building consistent, always in the form of

    strbuf_git_path(sb, "logs/%s", refname);

It reduces the mental workload a bit in the next patch when that
function call is converted.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c