git-submodule: avoid sed input with no newline
commitee81bb18b82c936988daf139f65edb6866e46e9d
authorJeff King <peff@peff.net>
Wed, 12 Mar 2008 20:44:39 +0000 (12 16:44 -0400)
committerJeff King <peff@peff.net>
Thu, 13 Mar 2008 13:39:56 +0000 (13 09:39 -0400)
tree4effa19f414fa665ada69db7e45f6ae01162c778
parent1b59a710bd3e39046e13576149460011ce22c0d2
git-submodule: avoid sed input with no newline

Some versions of sed don't like this, and give no output at
all. Instead, we can use git-config to pare down the matches
for us.

The content of the last three lines of the patch aren't
changed at all; they merely fix a bogus 7-space indentation.
git-submodule.sh