commit - d9dd1b289c149184c4da042edfb9dae1062c4187
commit + 6d1e5fdc3f135929f40d4a92a6a4b8bc0f0a61e5
blob - 31c07cd69ecc36c386c0a308d3eb11e9739a64b5
blob + f784cc2785cf56da4f06a59cf3e4dfe590b448f7
--- got/got.c
+++ got/got.c
}
static const struct got_error *
-check_paths_contains_dir(int *contains_dir, struct got_worktree *worktree,
+pathlist_contains_directory(int *contains_dir, struct got_worktree *worktree,
struct got_pathlist_head *paths)
{
const struct got_error *error = NULL;
goto done;
if (!can_recurse) {
- error = check_paths_contains_dir(&contains_dir, worktree, &paths);
+ error = pathlist_contains_directory(&contains_dir, worktree,
+ &paths);
if (error != NULL)
goto done;
goto done;
if (!can_recurse) {
- error = check_paths_contains_dir(&contains_dir, worktree, &paths);
+ error = pathlist_contains_directory(&contains_dir, worktree,
+ &paths);
if (error != NULL)
goto done;
goto done;
if (!can_recurse) {
- error = check_paths_contains_dir(&contains_dir, worktree, &paths);
+ error = pathlist_contains_directory(&contains_dir, worktree,
+ &paths);
if (error != NULL)
goto done;
print_stage, NULL, check_cancelled, NULL);
else {
if (!can_recurse) {
- error = check_paths_contains_dir(&contains_dir,
+ error = pathlist_contains_directory(&contains_dir,
worktree, &paths);
if (error != NULL)
goto done;
goto done;
if (!can_recurse) {
- error = check_paths_contains_dir(&contains_dir,
+ error = pathlist_contains_directory(&contains_dir,
worktree, &paths);
if (error != NULL)
goto done;