author | Junio C Hamano <gitster@pobox.com> | |
Sat, 9 Jan 2010 04:56:16 +0000 (20:56 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 9 Jan 2010 07:13:47 +0000 (23:13 -0800) | ||
commit | 16e2cfa90993b23bda8ff1ffb958cac20e58b058 | |
tree | ac5a143474ad3930c848f8fd75cefc1f077be8d6 | tree | snapshot |
parent | 53cc5356fb591d0efa9d2725f8430afe5f5630b5 | commit | diff |
read_directory(): further split treat_path()
The next caller I'll be adding won't have an access to struct dirent
because it won't be reading from a directory stream. Split the main
part of the function further into a separate function to make it usable
by a caller without passing a dirent as long as it knows what type is
feeding the function.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The next caller I'll be adding won't have an access to struct dirent
because it won't be reading from a directory stream. Split the main
part of the function further into a separate function to make it usable
by a caller without passing a dirent as long as it knows what type is
feeding the function.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c | diff | blob | history |