118 Commits (9bb4542b8c1b91189126cf0fc42e2689fc9224c6)

Author SHA1 Message Date
Jonathan Tan e5b942136e fetch: avoid reading submodule config until needed 4 years ago
Jeff King f5914f4b6b parse_config_key(): return subsection len as size_t 5 years ago
Matthew Rogers 9a83d088ee submodule-config: add subomdule config scope 5 years ago
Matheus Tavares d7992421e1 submodule-config: add skip_if_read option to repo_read_gitmodules() 5 years ago
ryenus 571fb96573 fix-typo: consecutive-word duplications 5 years ago
Jonathan Nieder e904deb89d submodule: reject submodule.update = !command in .gitmodules 5 years ago
Eric Wong 404ab78e39 hashmap: remove type arg from hashmap_{get,put,remove}_entry 5 years ago
Eric Wong 23dee69f53 OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
Eric Wong c8e424c9c9 hashmap: introduce hashmap_free_entries 5 years ago
Eric Wong 8a973d0bb3 hashmap: hashmap_{put,remove} return hashmap_entry * 5 years ago
Eric Wong 87571c3f71 hashmap: use *_entry APIs for iteration 5 years ago
Eric Wong 939af16eac hashmap_cmp_fn takes hashmap_entry params 5 years ago
Eric Wong f23a465132 hashmap_get{,_from_hash} return "struct hashmap_entry *" 5 years ago
Eric Wong 26b455f21e hashmap_put takes "struct hashmap_entry *" 5 years ago
Eric Wong 28ee794128 hashmap_remove takes "const struct hashmap_entry *" 5 years ago
Eric Wong b6c5241606 hashmap_get takes "const struct hashmap_entry *" 5 years ago
Eric Wong b94e5c1df6 hashmap_add takes "struct hashmap_entry *" 5 years ago
Eric Wong d22245a2e3 hashmap_entry_init takes "struct hashmap_entry *" 5 years ago
Nguyễn Thái Ngọc Duy d9b8b8f896 submodule-config.c: use repo_get_oid for reading .gitmodules 6 years ago
Nguyễn Thái Ngọc Duy 5a59a2301f completion: add more parameter value completion 6 years ago
Antonio Ospite 76e9bdc437 submodule: support reading .gitmodules when it's not in the working tree 6 years ago
Antonio Ospite 45f5ef3d77 submodule: factor out a config_set_in_gitmodules_file_gently function 6 years ago
Antonio Ospite bcbc780d14 submodule: add a print_config_from_gitmodules() helper 6 years ago
Jeff King 273c61496f submodule-config: ban submodule paths that start with a dash 6 years ago
Jeff King f6adec4e32 submodule-config: ban submodule urls that start with dash 6 years ago
Jeff King 9001dc2a74 convert "oidcmp() != 0" to "!oideq()" 6 years ago
Jeff King 4574f1aace config: add options parameter to git_config_from_mem 7 years ago
Antonio Ospite db64d1127f submodule-config: reuse config_from_gitmodules in repo_read_gitmodules 7 years ago
Antonio Ospite 9a0fb3e772 submodule-config: pass repository as argument to config_from_gitmodules 7 years ago
Antonio Ospite 588929d54d submodule-config: make 'config_from_gitmodules' private 7 years ago
Antonio Ospite 057449978e submodule-config: add helper to get 'update-clone' config from .gitmodules 7 years ago
Antonio Ospite 71a6953d16 submodule-config: add helper function to get 'fetch' config from .gitmodules 7 years ago
Antonio Ospite ad136370b2 config: move config_from_gitmodules to submodule-config.c 7 years ago
Jeff King 0383bbb901 submodule-config: verify submodule names as paths 7 years ago
Stefan Beller cbd53a2193 object-store: move object access functions to object-store.h 7 years ago
brian m. carlson 34caab0261 submodule-config: convert structures to object_id 7 years ago
Stefan Beller 0c89fdd739 submodule-config: remove submodule_from_cache 7 years ago
Stefan Beller 3b8fb393bc submodule-config: add repository argument to submodule_from_{name, path} 7 years ago
Stefan Beller f793b895fd submodule-config: allow submodule_free to handle arbitrary repositories 7 years ago
brian m. carlson b4f5aca40e sha1_file: convert read_sha1_file to struct object_id 7 years ago
Robert P. J. Day 5aea9fe6cc Correct mispellings of ".gitmodule" to ".gitmodules" 7 years ago
Martin Ågren 8957661378 treewide: deprecate git_config_maybe_bool, use git_parse_maybe_bool 8 years ago
Brandon Williams ff6f1f564c submodule-config: lazy-load a repository's .gitmodules file 8 years ago
Brandon Williams 1b796ace7b submodule-config: move submodule-config functions to submodule-config.c 8 years ago
Brandon Williams f20e7c1ea2 submodule: remove submodule.fetchjobs from submodule-config parsing 8 years ago
brian m. carlson cd73de4714 submodule: convert submodule config lookup to use object_id 8 years ago
Stefan Beller 152cbdc64e submodule-config.c: drop hashmap_cmp_fn cast 8 years ago
Stefan Beller 7663cdc86c hashmap.h: compare function has access to a data field 8 years ago
Brandon Williams bf12fcdf5e submodule-config: store the_submodule_cache in the_repository 8 years ago
Stefan Beller 886dc154d8 builtin/fetch: factor submodule recurse parsing out to submodule config 8 years ago