On Thu, Nov 22, 2007 at 04:55:34AM -0600, Dan Zwell wrote: > Previously, the Git->repository()->config('non-existent.key') > evaluated to as true in a vector context. Call 'return' with > no argument, instead. I think the reason this works is a subtle issue (well, I had to look it up, anyway): return without an argument automatically checks the calling context and returns the empty list in a list context. So we are returning an empty list now, instead of a list containing a single undef. I think it might be useful to explain this a bit better in the commit message. -Peff - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html