rebase -i: exchange all "if [ .. ]" by "if test .."
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 24 Jul 2007 02:18:28 +0000 (03:18 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2007 06:06:12 +0000 (23:06 -0700)
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>
No differences found