* maint:
config: Change output of --get-regexp for valueless keys
config: Complete documentation of --get-regexp
cleanup merge-base test script
Fix zero-object version-2 packs
Ignore submodule commits when fetching over dumb protocols
while (tree_entry(&desc, &entry)) {
struct object *obj = NULL;
- if (S_ISDIRLNK(entry.mode))
+ /* submodule commits are not stored in the superproject */
++ if (S_ISGITLINK(entry.mode))
+ continue;
if (S_ISDIR(entry.mode)) {
struct tree *tree = lookup_tree(entry.sha1);
if (tree)