Merge branch 'ph/transport-with-gitfile'
* ph/transport-with-gitfile: Fix is_gitfile() for files too small or larger than PATH_MAX to be a gitfile Add test showing git-fetch groks gitfiles Teach transport about the gitfile mechanism Learn to handle gitfiles in enter_repo enter_repo: do not modify input
This commit is contained in:
4
daemon.c
4
daemon.c
@ -108,11 +108,11 @@ static void NORETURN daemon_die(const char *err, va_list params)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
static char *path_ok(char *directory)
|
||||
static const char *path_ok(char *directory)
|
||||
{
|
||||
static char rpath[PATH_MAX];
|
||||
static char interp_path[PATH_MAX];
|
||||
char *path;
|
||||
const char *path;
|
||||
char *dir;
|
||||
|
||||
dir = directory;
|
||||
|
Reference in New Issue
Block a user