Re: [PATCH 0/7] Fix some bugs in abspath.c

2012-09-04 Thread Junio C Hamano
Junio C Hamano writes: > mhag...@alum.mit.edu writes: > >> Please note that both absolute_path("") and real_path("") used to >> return the current directory followed by a slash. I believe that this >> was a bug, and that it is more appropriate for both functions to >> reject the empty string. T

Re: [PATCH 0/7] Fix some bugs in abspath.c

2012-09-04 Thread Junio C Hamano
mhag...@alum.mit.edu writes: > From: Michael Haggerty > > I really just wanted to tidy up filter_refs(), but I've been sucked > into a cascade of recursive yak shaving. This is my first attempt to > pop the yak stack. Thanks. > Please note that both absolute_path("") and real_path("") used to

[PATCH 0/7] Fix some bugs in abspath.c

2012-09-04 Thread mhagger
From: Michael Haggerty I really just wanted to tidy up filter_refs(), but I've been sucked into a cascade of recursive yak shaving. This is my first attempt to pop the yak stack. I want to use real_path() for making the handling of GIT_CEILING_DIRECTORIES more robust, but I noticed that it is b