worktree: give "should be pruned?" function more meaningful name
commit1b14d40b385580a366c92f8c2a9373e6fd7cb26f
authorEric Sunshine <sunshine@sunshineco.com>
Wed, 10 Jun 2020 06:30:44 +0000 (10 02:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Jun 2020 17:54:49 +0000 (10 10:54 -0700)
treeb830d245c1c248ea574d38556176569ba1a71967
parentc9b77f2cea2f0b4ee34d1d7a25cd1ebed767caf4
worktree: give "should be pruned?" function more meaningful name

Readers of the name prune_worktree() are likely to expect the function
to actually prune a worktree, however, it only answers the question
"should this worktree be pruned?". Give it a name more reflective of its
true purpose to avoid such confusion.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/worktree.c