Mike Hommey <mh@xxxxxxxxxxxx> writes: > Create a setup_work_tree() that can be used from any command requiring > a working tree conditionally. ... > +void setup_work_tree(void) { > + const char *work_tree = get_git_work_tree(); Hi, could you please not use this "function begin brace at EOL" style? It's inconsistent with the rest of the source, makes the code harder to read, and confuses Emacs in some cases[1]. Also it's an abomination unto God, but I imagine it's the first of these reasons that you'll care about the most... :-) Thanks, -Miles [1] Until quite recently, Emacs c-mode couldn't find the beginning of such functions (recent versions of c-mode seem OK though). -- The secret to creativity is knowing how to hide your sources. --Albert Einstein - 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