We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 761a889 commit e1e5ec8Copy full SHA for e1e5ec8
setup.c
@@ -519,6 +519,12 @@ int check_repository_format(void)
519
return check_repository_format_gently(NULL);
520
}
521
522
+/*
523
+ * Returns the "prefix", a path to the current working directory
524
+ * relative to the work tree root, or NULL, if the current working
525
+ * directory is not a strict subdirectory of the work tree root. The
526
+ * prefix always ends with a '/' character.
527
+ */
528
const char *setup_git_directory(void)
529
{
530
const char *retval = setup_git_directory_gently(NULL);
0 commit comments