Completion works when used as "git checkout foo" but fails with "bash: [: 1: unary operator expected" when trying to complete via a single character shell alias like "alias g=git" as in "g checkout foo". git version 1.7.10.2.548.g9de9681 -- 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