document got_repo_get_path() and got_repo_get_path_git_dir()
diff --git a/include/got_repository.h b/include/got_repository.h
index 4f82cdf..b69af8b 100644
--- a/include/got_repository.h
+++ b/include/got_repository.h
@@ -20,7 +20,13 @@ struct got_repository;
const struct got_error *got_repo_open(struct got_repository**, const char *);
const struct got_error *got_repo_close(struct got_repository*);
+/* Obtain the on-disk path to the repository. */
const char *got_repo_get_path(struct got_repository *);
+
+/*
+ * Obtain the path to a non-bare repository's .git directory.
+ * For bare repositories, this returns the same result as got_repo_get_path().
+ */
const char *got_repo_get_path_git_dir(struct got_repository *);
/*