diff options
| author | Derrick Stolee <dstolee@microsoft.com> | 2020-12-08 17:04:13 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-12-08 14:48:16 -0800 |
| commit | 597b2c39af9ee65496591448715588b711e91947 (patch) | |
| tree | b280b25ab8ae1e1f1460cd7770b543dd2ecdf6c3 /builtin/diff.c | |
| parent | ed03a58b655f661ef6f9efd8816efe0c8cf07fa0 (diff) | |
commit: implement commit_list_contains()
It can be helpful to check if a commit_list contains a commit. Use
pointer equality, assuming lookup_commit() was used.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff.c')
0 files changed, 0 insertions, 0 deletions
