author | Bryan Donlan <bdonlan@fushizen.net> | |
Sun, 4 May 2008 05:37:54 +0000 (01:37 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 5 May 2008 21:17:01 +0000 (14:17 -0700) | ||
commit | 02b35660031e1da4036559fb928589ca8c3844bd | |
tree | c6997979e537a39b2b4d95152f4445ee9d6f01de | tree | snapshot |
parent | 065096c2b558af80e670299621ff3ddc6839954c | commit | diff |
test-lib.sh: Add a test_set_editor function to safely set $VISUAL
In particular, this function correctly handles cases where the pwd contains
spaces, quotes, and other troublesome metacharacters.
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In particular, this function correctly handles cases where the pwd contains
spaces, quotes, and other troublesome metacharacters.
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh | diff | blob | history |