aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorAlexander Potashev <aspotashev@gmail.com>2009-01-04 21:38:41 +0300
committerJunio C Hamano <gitster@pobox.com>2009-01-05 13:01:01 -0800
commitd75307084da5f89329de190bb9b4a3196cec1d0e (patch)
tree74731a248640431379ceba54fa4e826b85d22eaa /diff.c
parente89e2ed7c225cf16cffbd9648895528e471e2fb8 (diff)
downloadgit-d75307084da5f89329de190bb9b4a3196cec1d0e.tar.gz
git-d75307084da5f89329de190bb9b4a3196cec1d0e.tar.xz
remove trailing LF in die() messages
LF at the end of format strings given to die() is redundant because die already adds one on its own. Signed-off-by: Alexander Potashev <aspotashev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 0484601f4..c159a5fc6 100644
--- a/diff.c
+++ b/diff.c
@@ -2039,7 +2039,7 @@ static void diff_fill_sha1_info(struct diff_filespec *one)
if (lstat(one->path, &st) < 0)
die("stat %s", one->path);
if (index_path(one->sha1, one->path, &st, 0))
- die("cannot hash %s\n", one->path);
+ die("cannot hash %s", one->path);
}
}
else