Clean up git-ls-file directory walking library interface
authorLinus Torvalds <torvalds@osdl.org>
Wed, 17 May 2006 02:46:16 +0000 (19:46 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 17 May 2006 08:56:55 +0000 (01:56 -0700)
commitb4189aa84873718f80c62846cd53e803b5f72362
tree72943b160cbe8d377baf5a5cc78f73d587cc5b15
parent453ec4bdf403c2e89892266a0a660c21680d3f9d
Clean up git-ls-file directory walking library interface

This moves the code to add the per-directory ignore files for the base
directory into the library routine.

That not only allows us to turn the function push_exclude_per_directory()
static again, it also simplifies the library interface a lot (the caller
no longer needs to worry about any of the per-directory exclude files at
all).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
dir.c
dir.h
ls-files.c