summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-02 15:09:54 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-02 15:09:54 -0700
commit76d1ab30a3ad1c3bf406efb60c55b00a566f9050 (patch)
tree9b304604709131edb97f316277c9f80dba4faa58 /git-compat-util.h
parent37ba4c61d04d0782bd34971be5cc4eec10f59d36 (diff)
parent0117c2f043183fb99e9b046b0df7d64c1b296624 (diff)
downloadgit-76d1ab30a3ad1c3bf406efb60c55b00a566f9050.tar.gz
Merge branch 'tb/cygwin-shared-repository'
Cygwin port has a faster-but-lying lstat(2) emulation whose incorrectness does not matter in practice except for a few codepaths, and setting permission bits to directories is a codepath that needs to use a more correct one. * tb/cygwin-shared-repository: Make core.sharedRepository work under cygwin 1.7
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 90e0372038..cde442fb5f 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -163,6 +163,7 @@
typedef long intptr_t;
typedef unsigned long uintptr_t;
#endif
+int get_st_mode_bits(const char *path, int *mode);
#if defined(__CYGWIN__)
#undef _XOPEN_SOURCE
#include <grp.h>