Commit 032e6e56 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Remove --name-only option from git-config call

This appears to be a more recent feature not suported by git on some
older distros.
parent 378c1929
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -105,8 +105,8 @@ update_worktree()
foreach_submodule()
{
	local name module SUBMODULE
	git config --name-only --list |
	sed -n 's/^submodule\.\(.\+\)\.url$/\1/p' |
	git config --list |
	sed -n 's/^submodule\.\(.\+\)\.url=.*$/\1/p' |
	while read name; do
		module=`git rev-parse --git-dir`/modules/$name || return 1