diff options
author | Stefan Beller <sbeller@google.com> | 2018-11-13 16:12:58 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-14 17:22:40 +0900 |
commit | 70315373ae51b45b9ca0ac43df396bb9035fe449 (patch) | |
tree | e89acff8d3af8b5e613c8a7dee5c34f3cab4e4b1 /contrib/coccinelle | |
parent | commit: prepare get_commit_buffer to handle any repo (diff) | |
download | tgif-70315373ae51b45b9ca0ac43df396bb9035fe449.tar.xz |
commit: prepare repo_unuse_commit_buffer to handle any repo
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/coccinelle')
-rw-r--r-- | contrib/coccinelle/the_repository.pending.cocci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/coccinelle/the_repository.pending.cocci b/contrib/coccinelle/the_repository.pending.cocci index 4018e6eaf7..516f19ffee 100644 --- a/contrib/coccinelle/the_repository.pending.cocci +++ b/contrib/coccinelle/the_repository.pending.cocci @@ -115,3 +115,11 @@ expression F; - get_commit_buffer( + repo_get_commit_buffer(the_repository, E, F); + +@@ +expression E; +expression F; +@@ +- unuse_commit_buffer( ++ repo_unuse_commit_buffer(the_repository, + E, F); |