diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2018-05-02 03:31:29 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-02 12:54:32 +0300 |
commit | 7cc6ed2d06d6631726af9c14b5258d723c513327 (patch) | |
tree | dc185e5d974f897459342e573e51b3f9a71ece8c /upload-pack.c | |
parent | ea44c0a5940c183023797eb54cd7912709f421b0 (diff) |
upload-pack: fix error message typo
Fix a typo in an error message.
Also, this line was introduced in 3145ea957d2c ("upload-pack: introduce
fetch server command", 2018-03-15), which did not contain a test for the
case which causes this error to be printed, so introduce a test.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'upload-pack.c')
-rw-r--r-- | upload-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upload-pack.c b/upload-pack.c index 87b4d32a6e..c4456bb88a 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -1252,7 +1252,7 @@ static void process_args(struct packet_reader *request, } /* ignore unknown lines maybe? */ - die("unexpect line: '%s'", arg); + die("unexpected line: '%s'", arg); } } |