rebase -i: exchange all "if [ .. ]" by "if test .."
commit3b38ec16d51a84bb5d4ef349f441de5f7ecd54f2
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 24 Jul 2007 02:18:28 +0000 (24 03:18 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2007 06:06:12 +0000 (23 23:06 -0700)
tree69a5ed1c82f000fcd90994334e55edc049e5d551
parentdfa49f33489dbb142bcc796a4e932863f9dcce1f
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh