aboutsummaryrefslogtreecommitdiff
path: root/git.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 /git.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 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 0fd95bf75..e795ddb81 100644
--- a/git.c
+++ b/git.c
@@ -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);