git.txt: update description of the configuration mechanism
[git.git] / git-compat-util.h
index 2e79b8a2f379d7c72a0934b36c7538db2143c722..590d5d3188aed8f3a2b0b7050f2502b28cb4f5fa 100644 (file)
@@ -637,8 +637,12 @@ int rmdir_or_warn(const char *path);
  */
 int remove_or_warn(unsigned int mode, const char *path);
 
-/* Call access(2), but warn for any error besides ENOENT. */
+/*
+ * Call access(2), but warn for any error except "missing file"
+ * (ENOENT or ENOTDIR).
+ */
 int access_or_warn(const char *path, int mode);
+int access_or_die(const char *path, int mode);
 
 /* Warn on an inaccessible file that ought to be accessible */
 void warn_on_inaccessible(const char *path);