@@ -332,7 +332,7 @@ static int run_builtin(struct cmd_struct *p, int argc, const char **argv)
332
332
return 0 ;
333
333
}
334
334
335
- static void handle_internal_command (int argc , const char * * argv )
335
+ static void handle_builtin (int argc , const char * * argv )
336
336
{
337
337
const char * cmd = argv [0 ];
338
338
static struct cmd_struct commands [] = {
@@ -517,8 +517,8 @@ static int run_argv(int *argcp, const char ***argv)
517
517
int done_alias = 0 ;
518
518
519
519
while (1 ) {
520
- /* See if it's an internal command */
521
- handle_internal_command (* argcp , * argv );
520
+ /* See if it's a builtin */
521
+ handle_builtin (* argcp , * argv );
522
522
523
523
/* .. then try the external ones */
524
524
execv_dashed_external (* argv );
@@ -563,14 +563,14 @@ int main(int argc, char **av)
563
563
* - cannot execute it externally (since it would just do
564
564
* the same thing over again)
565
565
*
566
- * So we just directly call the internal command handler, and
567
- * die if that one cannot handle it.
566
+ * So we just directly call the builtin handler, and die if
567
+ * that one cannot handle it.
568
568
*/
569
569
if (starts_with (cmd , "git-" )) {
570
570
cmd += 4 ;
571
571
argv [0 ] = cmd ;
572
- handle_internal_command (argc , argv );
573
- die ("cannot handle %s internally " , cmd );
572
+ handle_builtin (argc , argv );
573
+ die ("cannot handle %s as a builtin " , cmd );
574
574
}
575
575
576
576
/* Look for flags.. */
0 commit comments