diff options
author | Abhijeet Sonar <abhijeet.nkt@gmail.com> | 2025-04-19 00:28:48 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-04-18 14:04:08 -0700 |
commit | ff4a7493542df81b0786e257fd84fd9ee82e2e38 (patch) | |
tree | 4967ffe91fa6dc3d80ecdc0f293dfc03da0dab82 /builtin/commit-graph.c | |
parent | 683c54c999c301c2cd6f715c411407c413b1d84e (diff) |
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 e90fdc39b6 (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 <abhijeet.nkt@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions