File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,7 @@ void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes)
7878 cmds -> cnt = cj ;
7979}
8080
81- static void pretty_print_string_list (struct cmdnames * cmds ,
82- unsigned int colopts )
81+ static void pretty_print_cmdnames (struct cmdnames * cmds , unsigned int colopts )
8382{
8483 struct string_list list = STRING_LIST_INIT_NODUP ;
8584 struct column_options copts ;
@@ -209,14 +208,14 @@ void list_commands(unsigned int colopts,
209208 const char * exec_path = git_exec_path ();
210209 printf_ln (_ ("available git commands in '%s'" ), exec_path );
211210 putchar ('\n' );
212- pretty_print_string_list (main_cmds , colopts );
211+ pretty_print_cmdnames (main_cmds , colopts );
213212 putchar ('\n' );
214213 }
215214
216215 if (other_cmds -> cnt ) {
217216 printf_ln (_ ("git commands available from elsewhere on your $PATH" ));
218217 putchar ('\n' );
219- pretty_print_string_list (other_cmds , colopts );
218+ pretty_print_cmdnames (other_cmds , colopts );
220219 putchar ('\n' );
221220 }
222221}
You can’t perform that action at this time.
0 commit comments