author | Junio C Hamano <gitster@pobox.com> | |
Tue, 9 Sep 2008 08:27:07 +0000 (01:27 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 9 Sep 2008 16:27:45 +0000 (09:27 -0700) | ||
commit | 90b4a71c493bf24f11b5edee8a519110624a6bea | |
tree | bc6b950d4b19ba1aee1292970571ad8744b1267b | tree | snapshot |
parent | 10708a994a632c392ab58aa7d11e49b322aa1505 | commit | diff |
is_directory(): a generic helper function
A simple "grep -e stat --and -e S_ISDIR" revealed there are many
open-coded implementations of this function.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
A simple "grep -e stat --and -e S_ISDIR" revealed there are many
open-coded implementations of this function.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
abspath.c | diff | blob | history | |
builtin-clone.c | diff | blob | history | |
cache.h | diff | blob | history | |
daemon.c | diff | blob | history | |
rerere.c | diff | blob | history | |
sha1_file.c | diff | blob | history |