sha1_file: refactor has_sha1_file_with_flags
[gitweb.git] / builtin / worktree.c
index ff5dfd2b1022fd94314f2cefe3ca91a4820e8abf..793306ea5162f1c3e9663c0c99d693b88baaea3d 100644 (file)
@@ -31,7 +31,7 @@ struct add_opts {
 
 static int show_only;
 static int verbose;
-static unsigned long expire;
+static timestamp_t expire;
 
 static int prune_worktree(const char *id, struct strbuf *reason)
 {
@@ -131,7 +131,7 @@ static int prune(int ac, const char **av, const char *prefix)
                OPT_END()
        };
 
-       expire = ULONG_MAX;
+       expire = TIME_MAX;
        ac = parse_options(ac, av, prefix, options, worktree_usage, 0);
        if (ac)
                usage_with_options(worktree_usage, options);