diff options
author | Jeff King <peff@peff.net> | 2022-07-07 19:54:51 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-07-07 20:57:54 -0700 |
commit | f77710c5045c3e38ae440c843cb07af9e5000b6c (patch) | |
tree | b2e387c28b42b8e8087eb05d6ef4221388bd21c3 /commit.c | |
parent | dc8c8deaa6b5847733bd7df011a4c7b7d1a64e0a (diff) |
clone: drop extra newline from warning message
We don't need to put a "\n" in calls to warning(), since it adds one
itself (and the user sees an extra blank line). Drop it, and while we're
here, drop the full-stop from the message, which goes against our
guidelines.
This bug dates all the way back to 8434c2f1af (Build in clone,
2008-04-27), but presumably nobody noticed because it's hard to trigger:
you have to clone a repository whose HEAD is unborn, but which is not
otherwise empty.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions