diff options
| author | Junio C Hamano <gitster@pobox.com> | 2016-11-29 12:22:13 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-11-29 12:22:13 -0800 |
| commit | 95c2b13a5fc06db6556def93843653e948e71e4b (patch) | |
| tree | f6f1b90a0ce387460e3bb28a6f0399666f14a9b1 /git.c | |
| parent | Merge tag 'l10n-2.11.0-rnd3.1' of git://github.com/git-l10n/git-po (diff) | |
| parent | common-main: stop munging argv[0] path (diff) | |
| download | git-95c2b13a5fc06db6556def93843653e948e71e4b.tar.gz git-95c2b13a5fc06db6556def93843653e948e71e4b.zip | |
Merge branch 'jk/common-main'
Fix for a small regression in a topic already in 'master'.
* jk/common-main:
common-main: stop munging argv[0] path
Diffstat (limited to 'git.c')
| -rw-r--r-- | git.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -654,6 +654,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); |
