]> git.ipfire.org Git - thirdparty/git.git/commit - tree-walk.c
tree_entry_interesting(): give meaningful names to return values
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 24 Oct 2011 06:36:10 +0000 (17:36 +1100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Oct 2011 18:38:24 +0000 (11:38 -0700)
commitd688cf07b15b664a2164c3d92bcb5e8265400a2b
treee00f6633f9938ef2808bd2c25f71938b805f198a
parent02cb67530e62e77d437cd68b4bb4307ab752b6a0
tree_entry_interesting(): give meaningful names to return values

It is a basic code hygiene to avoid magic constants that are unnamed.
Besides, this helps extending the value later on for "interesting, but
cannot decide if the entry truely matches yet" (ie. prefix matches)

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/grep.c
list-objects.c
tree-diff.c
tree-walk.c
tree-walk.h
tree.c