dirent.c
4.45 KB
-
Simplify git_path_is_empty_dir implementation · d0849f83
This simplifies git_path_is_empty_dir on both Windows (getting rid of git_buf allocation inside the function) and other platforms (by just using git_path_direach), and adds tests for the function, and uses the function to simplify some existing tests.
Russell Belfer committed