]> git.ipfire.org Git - thirdparty/git.git/commit
serve: rename is_command() to parse_command()
authorJeff King <peff@peff.net>
Tue, 14 Sep 2021 15:30:20 +0000 (11:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Sep 2021 17:56:19 +0000 (10:56 -0700)
commit76804526f9795f94fb666248653a5f41ed921241
treeedb2c1e951efc78361d0aabe392a20120400faf0
parent0057847208f5ccec05a0ea62b239e65f3def3a8c
serve: rename is_command() to parse_command()

The is_command() function not only tells us whether the pktline is a
valid command string, but it also parses out the command (and complains
if we see a duplicate). Let's rename it to make those extra functions
a bit more obvious.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
serve.c