]> git.ipfire.org Git - thirdparty/git.git/commit
object API: correct "buf" v.s. "map" mismatch in *.c and *.h
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 4 Feb 2022 23:48:27 +0000 (00:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 26 Feb 2022 01:16:31 +0000 (17:16 -0800)
commit73182b2d84e3348ab87ef5ecbe3315881381c29c
treea2f1c5c32290c5a704394634bae556c09ef92b36
parentc80d226a046170b1c8dd82ef72a27373ddd5880e
object API: correct "buf" v.s. "map" mismatch in *.c and *.h

Change the name of the second argument to check_object_signature() to
be "buf" in object-file.c, making it consistent with the prototype in
cache.h

This fixes an inconsistency that's been with us since 2ade9340262 (Add
"check_sha1_signature()" helper function, 2005-04-08), and makes a
subsequent commit's diff smaller, as we'll move these API docs to
cache.h.

While we're at it fix a small grammar error in the documentation,
dropping an "an" before "in-core object-data".

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-file.c