aboutsummaryrefslogtreecommitdiff
path: root/receive-pack.c
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2005-12-15 08:47:30 +0100
committerJunio C Hamano <junkio@cox.net>2005-12-21 23:09:40 -0800
commit7246ed438c541650c2cd50e4e98b43226f60da0c (patch)
treef7b8899038e9434ce77fe7db3ca7ccf80747b2f7 /receive-pack.c
parentf4a11066cfb70c49fddbca7f95aa0fedcee53cca (diff)
downloadgit-7246ed438c541650c2cd50e4e98b43226f60da0c.tar.gz
git-7246ed438c541650c2cd50e4e98b43226f60da0c.tar.xz
\n usage in stderr output
fprintf and die sometimes have missing/excessive "\n" in their arguments, correct the strings where I think it would be appropriate. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'receive-pack.c')
-rw-r--r--receive-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/receive-pack.c b/receive-pack.c
index cbe37e723..92878ecac 100644
--- a/receive-pack.c
+++ b/receive-pack.c
@@ -79,7 +79,7 @@ static int run_update_hook(const char *refname,
case -ERR_RUN_COMMAND_WAITPID_WRONG_PID:
die("waitpid is confused");
case -ERR_RUN_COMMAND_WAITPID_SIGNAL:
- fprintf(stderr, "%s died of signal", update_hook);
+ fprintf(stderr, "%s died of signal\n", update_hook);
return -1;
case -ERR_RUN_COMMAND_WAITPID_NOEXIT:
die("%s died strangely", update_hook);