From: Johannes Schindelin Date: Tue, 24 Jul 2007 02:18:28 +0000 (+0100) Subject: rebase -i: exchange all "if [ .. ]" by "if test .." X-Git-Tag: v1.5.3-rc3~18 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3b38ec16d51a84bb5d4ef349f441de5f7ecd54f2?ds=inline;hp=3b38ec16d51a84bb5d4ef349f441de5f7ecd54f2 rebase -i: exchange all "if [ .. ]" by "if test .." This patch is literally :%s/if \[ *\(.*[^ ]\) *\]/if test \1/ in vi, after making sure that the other instances of "[..]" are not actually invocations of "test". Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano ---