diff options
author | Russell Belfer <rb@github.com> | 2013-10-02 11:07:18 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-10-03 10:44:13 -0700 |
commit | d0849f830f494445e4ef9f04d32be1a2d10b89b3 (patch) | |
tree | 1f7f3e60a962391e034386383e076a6d7304991f /tests-clar/diff/patch.c | |
parent | 966bb17a57d0c1128261b7575db245f5bc3cf41d (diff) | |
download | libgit2-d0849f830f494445e4ef9f04d32be1a2d10b89b3.tar.gz |
Simplify git_path_is_empty_dir implementation
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.
Diffstat (limited to 'tests-clar/diff/patch.c')
0 files changed, 0 insertions, 0 deletions