]> git.ipfire.org Git - thirdparty/git.git/commit - rerere.c
rerere: only return whether a path has conflicts or not
authorThomas Gummerer <t.gummerer@gmail.com>
Sun, 5 Aug 2018 17:20:33 +0000 (18:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Aug 2018 20:22:35 +0000 (13:22 -0700)
commit221444f5d11a8fac84514447c2902430e237759c
tree02189a1dfe8fb7cb8925f55ad6b8fe17c13f3b9c
parent93406a282f404fd9f736e96ae27cc6e2e5eb3cf1
rerere: only return whether a path has conflicts or not

We currently return the exact number of conflict hunks a certain path
has from the 'handle_paths' function.  However all of its callers only
care whether there are conflicts or not or if there is an error.
Return only that information, and document that only that information
is returned.  This will simplify the code in the subsequent steps.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
rerere.c