diff options
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -616,6 +616,11 @@ int cmd_main(int argc, const char **argv) cmd = argv[0]; if (!cmd) cmd = "git-help"; + else { + const char *slash = find_last_dir_sep(cmd); + if (slash) + cmd = slash + 1; + } trace_command_performance(argv); |