From: Michael Haggerty Date: Fri, 6 Jan 2017 16:22:42 +0000 (+0100) Subject: try_remove_empty_parents(): teach to remove parents of reflogs, too X-Git-Tag: v2.13.0-rc0~177^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a8f0db2d99552d786fd1428a06d5fb8e0425dca8?hp=a8f0db2d99552d786fd1428a06d5fb8e0425dca8 try_remove_empty_parents(): teach to remove parents of reflogs, too Add a new "flags" parameter that tells the function whether to remove empty parent directories of the loose reference file, of the reflog file, or both. The new functionality is not yet used. Signed-off-by: Michael Haggerty Reviewed-by: Jeff King Signed-off-by: Junio C Hamano ---