add have_git_dir() function
authorDmitry Potapov <dpotapov@gmail.com>
Sat, 27 Sep 2008 08:41:50 +0000 (12:41 +0400)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 30 Sep 2008 21:30:06 +0000 (14:30 -0700)
commitd2b0708e1a65953ad93a4adfc27938de0f8df252
tree028921f8167158f6c03a44ce015c6f80fb2b2d53
parent8b745e3ffdabe6ef110dc064af46b0ba993941e0
add have_git_dir() function

This function is used to learn whether git_dir is already set up or not.
It is necessary, because we want to read configuration in compat/cygwin.c

Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
cache.h
environment.c