]> git.ipfire.org Git - thirdparty/git.git/commit - daemon.c
is_directory(): a generic helper function
authorJunio C Hamano <gitster@pobox.com>
Tue, 9 Sep 2008 08:27:07 +0000 (01:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Sep 2008 16:27:45 +0000 (09:27 -0700)
commit90b4a71c493bf24f11b5edee8a519110624a6bea
treebc6b950d4b19ba1aee1292970571ad8744b1267b
parent10708a994a632c392ab58aa7d11e49b322aa1505
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>
abspath.c
builtin-clone.c
cache.h
daemon.c
rerere.c
sha1_file.c