diff options
author | Alexander Potashev <aspotashev@gmail.com> | 2009-01-04 21:38:41 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-05 13:01:01 -0800 |
commit | d75307084da5f89329de190bb9b4a3196cec1d0e (patch) | |
tree | 74731a248640431379ceba54fa4e826b85d22eaa /builtin-cat-file.c | |
parent | e89e2ed7c225cf16cffbd9648895528e471e2fb8 (diff) | |
download | git-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 'builtin-cat-file.c')
-rw-r--r-- | builtin-cat-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-cat-file.c b/builtin-cat-file.c index 30d00a666..8fad19dae 100644 --- a/builtin-cat-file.c +++ b/builtin-cat-file.c @@ -137,7 +137,7 @@ static int cat_one_file(int opt, const char *exp_type, const char *obj_name) break; default: - die("git cat-file: unknown option: %s\n", exp_type); + die("git cat-file: unknown option: %s", exp_type); } if (!buf) |