]> git.ipfire.org Git - thirdparty/git.git/commit - dir.c
dir.c: make last_exclude_matching_from_list() run til the end
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 21 Sep 2015 09:56:14 +0000 (16:56 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Sep 2015 18:06:03 +0000 (11:06 -0700)
commite6efecc46a34a984535e6a90e45a9db45af4eff2
tree4539c7a62a9f42aa6e5d51189789039e0c39e001
parentecad27cf98c391d5cfdc26ce0e442e02347baad0
dir.c: make last_exclude_matching_from_list() run til the end

The next patch adds some post processing to the result value before it's
returned to the caller. Keep all branches reach the end of the function,
so we can do it all in one place.

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