Merge branch 'maint'
* maint: setup: document prefix
This commit is contained in:
commit
624016114e
6
setup.c
6
setup.c
@ -546,6 +546,12 @@ int check_repository_format(void)
|
||||
return check_repository_format_gently(NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns the "prefix", a path to the current working directory
|
||||
* relative to the work tree root, or NULL, if the current working
|
||||
* directory is not a strict subdirectory of the work tree root. The
|
||||
* prefix always ends with a '/' character.
|
||||
*/
|
||||
const char *setup_git_directory(void)
|
||||
{
|
||||
const char *retval = setup_git_directory_gently(NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user