Joel E. Denny wrote: > Quite some time ago, we discussed the fact that a .gitignore entry without > a leading `/' applies recursively to subdirectories, and Bruno then fixed > gnulib-tool to prepend a `/' to .gitignore entries that it constructs: > > http://lists.gnu.org/archive/html/bug-gnulib/2008-08/msg00002.html > > The patch below fixes bootstrap to do the same. Ok to commit? > > Subject: [PATCH] bootstrap: anchor .gitignore entries. > > * build-aux/bootstrap (insert_sorted_if_absent): Replace all uses > with... > (insert_vc_ignore): ... this new function, which prepends `/' to > all .gitignore entries before passing them to > insert_sorted_if_absent.
Looks fine and works for me in coreutils. Please push.