]> git.ipfire.org Git - thirdparty/git.git/commit - commit.c
commit: allow parse_commit* to handle any repo
authorStefan Beller <sbeller@google.com>
Wed, 14 Nov 2018 00:12:50 +0000 (16:12 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2018 08:22:40 +0000 (17:22 +0900)
commit9e5252abd1239215c36f86704e84ba06dc30583f
tree019d93f691b7a9b5fd9604bbe3bf8dd114ea095a
parentd1a69022650bbb6a56ebe93a28fe8b0e6a8d7fa7
commit: allow parse_commit* to handle any repo

Just like the previous commit, parse_commit and friends are used a lot
and are found in new patches, so we cannot change their signature easily.

Re-introduce these function prefixed with 'repo_' that take a repository
argument and keep the original as a shallow macro.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.c
commit.h
contrib/coccinelle/the_repository.pending.cocci