diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2005-12-15 08:47:30 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-21 23:09:40 -0800 |
commit | 7246ed438c541650c2cd50e4e98b43226f60da0c (patch) | |
tree | f7b8899038e9434ce77fe7db3ca7ccf80747b2f7 /git.c | |
parent | f4a11066cfb70c49fddbca7f95aa0fedcee53cca (diff) | |
download | git-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 'git.c')
-rw-r--r-- | git.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -278,7 +278,7 @@ int main(int argc, char **argv, char **envp) if (*exec_path != '/') { if (!getcwd(git_command, sizeof(git_command))) { fprintf(stderr, - "git: cannot determine current directory"); + "git: cannot determine current directory\n"); exit(1); } len = strlen(git_command); |