]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rebase.c
builtin rebase: use oideq()
authorSZEDER Gábor <szeder.dev@gmail.com>
Sat, 6 Apr 2019 11:34:22 +0000 (18:34 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Apr 2019 08:26:32 +0000 (17:26 +0900)
commitd2c4e6292a29b9c59a11aa342ea168d4accf0ac2
tree08f4b14625603ba904494c3df033c38c3190109b
parent7762f44ee06f5a22254c8465a0642195f6c19658
builtin rebase: use oideq()

Use oideq() instead of !oidcmp(), as it is more idiomatic, and might
give the compiler more opportunities to optimize.

Patch generated with 'contrib/coccinelle/free.cocci' and Coccinelle
v1.0.7 (previous Coccinelle versions don't notice this).

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c