grep: refactor grep_objects loop into its own function
[gitweb.git] / unpack-trees.h
index 5c9e98a666b2004eec37b4bc3b2d918fc2eb4e9f..ef70eab39025fcdaccda059692ae447a13fa0aeb 100644 (file)
@@ -15,6 +15,8 @@ struct unpack_trees_error_msgs {
        const char *not_uptodate_dir;
        const char *would_lose_untracked;
        const char *bind_overlap;
+       const char *sparse_not_uptodate_file;
+       const char *would_lose_orphaned;
 };
 
 struct unpack_trees_options {
@@ -29,10 +31,11 @@ struct unpack_trees_options {
                     skip_unmerged,
                     initial_checkout,
                     diff_index_cached,
+                    debug_unpack,
                     skip_sparse_checkout,
                     gently;
        const char *prefix;
-       int pos;
+       int cache_bottom;
        struct dir_struct *dir;
        merge_fn_t fn;
        struct unpack_trees_error_msgs msgs;