On Nov 2, 2010, at 10:47 PM, Jonathan Nieder wrote: > Kevin Ballard wrote: >> On Nov 2, 2010, at 9:37 PM, Jonathan Nieder wrote: > >>> Have you looked into "git rev-parse --sq-quote"? >> >> Well crud, I wish I'd seen that before. Looks like it does pretty much the >> exact same thing as my quote_words function. I'll send out another patch >> that uses this instead of quote_words. Thanks for the info! > > Incidentally, if you still remember where it might have been useful > to find this advertised (git-sh-setup?), maybe we can find a way to document > it better. It might make sense to mention it in CodingGuidelines. That's where I always look when writing shell code in order to make sure I'm not using any bashisms. -Kevin Ballard-- 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