Thread (18 messages) flat view 18 messages, 1 author, 2016-06-15

Re: [PATCH 06/16] Use git_config_early() instead of git_config() during repo setup

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:48:25

2010/3/11 Nguyễn Thái Ngọc Duy [off-list ref]:
quoted hunk ↗ jump to hunk
@@ -411,6 +425,8 @@ static const char *setup_git_directory_gently_1(int *nongit_ok)
                       inside_git_dir = 1;
                       if (!work_tree_env)
                               inside_work_tree = 0;
+                       if (check_repository_format_gently(gitfile_dir, nongit_ok))
+                               return NULL;
                       if (offset != len) {
                               root_len = offset_1st_component(cwd);
                               cwd[offset > root_len ? offset : root_len] = '\0';
Something went wrong in rebases and conflicts. gitfile_dir in the
above call should be replaced by "."

if (check_repository_format_gently(".", nongit_ok))
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help