On Tue, Mar 24, 2009 at 9:52 PM, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: >> Also, what would be more appropriate for this purpose, I think, is a git >> sed. > > Just as it happens, this is a toy I am working on and off these days... > strbuf_regsub() is already done, and half the needed code is in my version > git grep. > this is my version [alias] sed = !git ls-files --stage | grep ^100 | awk '{print $4}' | xargs sed Then i can do git sed -i 's/A/B/g' -- 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