From: Michael W. Olson Date: Mon, 15 Oct 2007 17:48:27 +0000 (-0400) Subject: git-rebase--interactive.sh: Quote arguments to test X-Git-Tag: v1.5.4-rc0~359 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/2858028e1ab6c79f39ec0057d2034bcbe9f47cf9?hp=2858028e1ab6c79f39ec0057d2034bcbe9f47cf9 git-rebase--interactive.sh: Quote arguments to test If /bin/sh is /bin/dash, then the script will display an error if $parent_sha1 is undefined. This patch works fixes the issue by quoting both arguments to `test'. Arguments composed solely of variable expansions should always be quoted, unless we know for certain that the contents are defined. Signed-off-by: Michael W. Olson Signed-off-by: Shawn O. Pearce ---