author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Tue, 24 Jul 2007 02:18:28 +0000 (03:18 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 24 Jul 2007 06:06:12 +0000 (23:06 -0700) | ||
commit | 3b38ec16d51a84bb5d4ef349f441de5f7ecd54f2 | |
tree | 69a5ed1c82f000fcd90994334e55edc049e5d551 | tree | snapshot |
parent | dfa49f33489dbb142bcc796a4e932863f9dcce1f | commit | diff |
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>
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 | diff | blob | history |