From: Junio C Hamano Date: Wed, 5 Jul 2017 20:32:55 +0000 (-0700) Subject: Merge branch 'bw/repo-object' X-Git-Tag: v2.14.0-rc0~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85ce4a6828a418a22c69a870b3e059481b4263d6;p=git Merge branch 'bw/repo-object' Introduce a "repository" object to eventually make it easier to work in multiple repositories (the primary focus is to work with the superproject and its submodules) in a single process. * bw/repo-object: ls-files: use repository object repository: enable initialization of submodules submodule: convert is_submodule_initialized to work on a repository submodule: add repo_read_gitmodules submodule-config: store the_submodule_cache in the_repository repository: add index_state to struct repo config: read config from a repository object path: add repo_worktree_path and strbuf_repo_worktree_path path: add repo_git_path and strbuf_repo_git_path path: worktree_git_path() should not use file relocation path: convert do_git_path to take a 'struct repository' path: convert strbuf_git_common_path to take a 'struct repository' path: always pass in commondir to update_common_dir path: create path.h environment: store worktree in the_repository environment: place key repository state in the_repository repository: introduce the repository object environment: remove namespace_len variable setup: add comment indicating a hack setup: don't perform lazy initialization of repository state --- 85ce4a6828a418a22c69a870b3e059481b4263d6