author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Mon, 24 Oct 2011 06:36:10 +0000 (17:36 +1100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 27 Oct 2011 18:38:24 +0000 (11:38 -0700) | ||
commit | d688cf07b15b664a2164c3d92bcb5e8265400a2b | |
tree | e00f6633f9938ef2808bd2c25f71938b805f198a | tree | snapshot |
parent | 02cb67530e62e77d437cd68b4bb4307ab752b6a0 | commit | diff |
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>
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 | diff | blob | history | |
list-objects.c | diff | blob | history | |
tree-diff.c | diff | blob | history | |
tree-walk.c | diff | blob | history | |
tree-walk.h | diff | blob | history | |
tree.c | diff | blob | history |