]> git.ipfire.org Git - thirdparty/git.git/commit
cat-file: merge two block into one
authorZheNing Hu <adlternative@gmail.com>
Thu, 3 Jun 2021 16:29:26 +0000 (16:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Jun 2021 22:50:26 +0000 (07:50 +0900)
commitee02ac616435cb1da1e02c8b9c220649d3cec40a
tree0e728fee80bd09b680052288602a72db7bbff57f
parente16acc80a78ae5e931b94e861aff53a4af485f77
cat-file: merge two block into one

There are two "if (opt->all_objects)" blocks next
to each other, merge them into one to provide better
readability.

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: ZheNing Hu <adlternative@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/cat-file.c