1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-01 14:57:52 +01:00
git/contrib/remote-helpers
Richard Hansen 5105edd411 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>
2013-11-18 13:45:58 -08:00
..
git-remote-bzr Merge branch 'fc/contrib-bzr-hg-fixes' 2013-09-18 11:45:49 -07:00
git-remote-hg remote-hg: don't decode UTF-8 paths into Unicode objects 2013-11-18 13:45:56 -08:00
Makefile remote-helpers: fix the run of all tests 2013-04-04 09:35:20 -07:00
test-bzr.sh test-bzr.sh, test-hg.sh: prepare for change to push.default=simple 2013-11-18 13:45:57 -08:00
test-hg-bidi.sh contrib/remote-helpers: style updates for test scripts 2013-09-03 10:25:19 -07:00
test-hg-hg-git.sh contrib/remote-helpers: quote variable references in redirection targets 2013-09-03 10:25:58 -07:00
test-hg.sh test-hg.sh: eliminate 'local' bashism 2013-11-18 13:45:58 -08:00