]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/clone.c
builtin/init-db: allow specifying hash algorithm on command line
[thirdparty/git.git] / builtin / clone.c
index 4f6150c55c3a447b62de323b5cbe6640a7eb2cf2..961996a110330d1c70f770c2d5fe859ebd8ed7b4 100644 (file)
@@ -1097,7 +1097,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
                }
        }
 
-       init_db(git_dir, real_git_dir, option_template, INIT_DB_QUIET);
+       init_db(git_dir, real_git_dir, option_template, GIT_HASH_UNKNOWN, INIT_DB_QUIET);
 
        if (real_git_dir)
                git_dir = real_git_dir;