diff options
author | Richard Hansen <rhansen@bbn.com> | 2013-11-17 23:12:46 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-11-18 13:45:58 -0800 |
commit | 5105edd411bc472015d63eadaf1f826bebdc92e5 (patch) | |
tree | a89c0bc2ae43128da928aeb1684cf5310bf4d891 /git-cvsexportcommit.perl | |
parent | test-bzr.sh, test-hg.sh: prepare for change to push.default=simple (diff) | |
download | tgif-5105edd411bc472015d63eadaf1f826bebdc92e5.tar.xz |
test-hg.sh: eliminate 'local' bashism
Unlike bash, POSIX shell does not specify a 'local' command for
declaring function-local variable scope. Except for IFS, the variable
names are not used anywhere else in the script so simply remove the
'local'. For IFS, move the assignment to the 'read' command to
prevent it from affecting code outside the function.
Signed-off-by: Richard Hansen <rhansen@bbn.com>
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsexportcommit.perl')
0 files changed, 0 insertions, 0 deletions