summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-05 05:24:22 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-05 07:19:31 (GMT)
commitb270c634b7d3dd197de6d155770fd7b044d76c5c (patch)
tree55c401434f0880f3963d161aad73909e16a95ab4 /git.c
parent18d1e701b70014d37a2715ccce0791114587709e (diff)
downloadgit-b270c634b7d3dd197de6d155770fd7b044d76c5c.zip
git-b270c634b7d3dd197de6d155770fd7b044d76c5c.tar.gz
git-b270c634b7d3dd197de6d155770fd7b044d76c5c.tar.bz2
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 <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 0975fc7..ee5048a 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);
}