OSDN Git Service

builtin/blame.c: eliminate same_suspect()
authorDavid Kastrup <dak@gnu.org>
Wed, 22 Jan 2014 00:20:15 +0000 (01:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 22:32:21 +0000 (14:32 -0800)
commit0a88f08e284df1a882771f9e74133e2861b79e2d
tree81e6c78b77540dc655026a927342902cce4ed17c
parenta0f58c5830ac6d9e4da009f0273b1421588dc440
builtin/blame.c: eliminate same_suspect()

Since the origin pointers are "interned" and reference-counted, comparing
the pointers rather than the content is enough.  The only uninterned
origins are cached values kept in commit->util, but same_suspect is not
called on them.

Signed-off-by: David Kastrup <dak@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c