War on whitespace
This uses "git-apply --whitespace=strip" to fix whitespace errors that have crept in to our source files over time. There are a few files that need to have trailing whitespaces (most notably, test vectors). The results still passes the test, and build result in Documentation/ area is unchanged. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
4
daemon.c
4
daemon.c
@ -133,7 +133,7 @@ static int avoid_alias(char *p)
|
||||
{
|
||||
int sl, ndot;
|
||||
|
||||
/*
|
||||
/*
|
||||
* This resurrects the belts and suspenders paranoia check by HPA
|
||||
* done in <435560F7.4080006@zytor.com> thread, now enter_repo()
|
||||
* does not do getcwd() based path canonicalizations.
|
||||
@ -247,7 +247,7 @@ static char *path_ok(struct interp *itable)
|
||||
int pathlen = strlen(path);
|
||||
|
||||
/* The validation is done on the paths after enter_repo
|
||||
* appends optional {.git,.git/.git} and friends, but
|
||||
* appends optional {.git,.git/.git} and friends, but
|
||||
* it does not use getcwd(). So if your /pub is
|
||||
* a symlink to /mnt/pub, you can whitelist /pub and
|
||||
* do not have to say /mnt/pub.
|
||||
|
Reference in New Issue
Block a user