From: Junio C Hamano Date: Mon, 5 Dec 2005 05:24:22 +0000 (-0800) Subject: git.c: remove excess output for debugging when command is too long. X-Git-Tag: v0.99.9m^2~78 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=b270c634b7d3dd197de6d155770fd7b044d76c5c;p=git.git git.c: remove excess output for debugging when command is too long. When the given command name was too long, we exited with a message with the number of bytes of the final command name inside parentheses, without saying what that number is. It was only meant as a debugging aid while development, so remove it. Signed-off-by: Junio C Hamano --- diff --git a/git.c b/git.c index 0975fc7a..ee5048aa 100644 --- a/git.c +++ b/git.c @@ -289,7 +289,7 @@ int main(int argc, char **argv, char **envp) len += snprintf(git_command + len, sizeof(git_command) - len, "/git-%s", argv[i]); if (sizeof(git_command) <= len) { - fprintf(stderr, "git: command name given is too long (%d)\n", len); + fprintf(stderr, "git: command name given is too long.\n"); exit(1); }