]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/add.c
Merge branch 'rj/use-adv-if-enabled'
[thirdparty/git.git] / builtin / add.c
index ec3bff1017041ea0e72b8bdf5d02a5368acc6941..e97699d6b9bad0bbce107cb1f14443ce1f62274f 100644 (file)
@@ -115,7 +115,7 @@ static int refresh(int verbose, const struct pathspec *pathspec)
        int i, ret = 0;
        char *skip_worktree_seen = NULL;
        struct string_list only_match_skip_worktree = STRING_LIST_INIT_NODUP;
-       int flags = REFRESH_IGNORE_SKIP_WORKTREE |
+       unsigned int flags = REFRESH_IGNORE_SKIP_WORKTREE |
                    (verbose ? REFRESH_IN_PORCELAIN : REFRESH_QUIET);
 
        seen = xcalloc(pathspec->nr, 1);