Skip to content

Commit ff4a749

Browse files
quanta-ktgitster
authored andcommitted
environment: fix typo: 'setup_git_directory_gently'
Above the declaration of git_work_tree_cfg, we have: /* This is set by setup_git_dir_gently() and/or git_default_config() */ char *git_work_tree_cfg; It can be verified that there is no function called 'setup_git_dir_gently' by running grep on the codebase: $ grep -R setup_git_dir_gently . ./environment.c:/* This is set by setup_git_dir_gently() and/or git_default_config() */ The comment, introduced in e90fdc3 (Clean up work-tree handling), is the only occurrence of the name 'setup_git_dir_gently'. It probably meant 'setup_git_directory_gently' as that is a name of a real function in setup.c. Correct it. Signed-off-by: Abhijeet Sonar <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 683c54c commit ff4a749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

environment.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ int auto_comment_line_char;
107107
/* Parallel index stat data preload? */
108108
int core_preload_index = 1;
109109

110-
/* This is set by setup_git_dir_gently() and/or git_default_config() */
110+
/* This is set by setup_git_directory_gently() and/or git_default_config() */
111111
char *git_work_tree_cfg;
112112

113113
/*

0 commit comments

Comments
 (0)