Re: [PATCH 3/5] path.c: Use vsnpath() in the implementation of git_path()

2012-09-07 Thread Ramsay Jones
Junio C Hamano wrote: > Ramsay Jones writes: > >> The current implementation of git_path() is essentially the same as >> that of vsnpath(), with two minor differences. First, git_path() >> currently insists that the git directory path is no longer than >> PATH_MAX-100 characters in length. Howeve

Re: [PATCH 3/5] path.c: Use vsnpath() in the implementation of git_path()

2012-09-04 Thread Junio C Hamano
Ramsay Jones writes: > The current implementation of git_path() is essentially the same as > that of vsnpath(), with two minor differences. First, git_path() > currently insists that the git directory path is no longer than > PATH_MAX-100 characters in length. However, vsnpath() does not > attemp

[PATCH 3/5] path.c: Use vsnpath() in the implementation of git_path()

2012-09-04 Thread Ramsay Jones
The current implementation of git_path() is essentially the same as that of vsnpath(), with two minor differences. First, git_path() currently insists that the git directory path is no longer than PATH_MAX-100 characters in length. However, vsnpath() does not attempt this arbitrary 100 character r