On Wed, Dec 19, 2012 at 11:03:31AM -0500, wk...@tremily.us wrote:
> diff --git a/git-submodule.sh b/git-submodule.sh
> index 2365149..263a60c 100755
> --- a/git-submodule.sh
> +++ b/git-submodule.sh
> @@ -153,6 +153,32 @@ die_if_unmatched ()
[...]
> +get_submodule_config () {
> +     name="$1"
> +     option="$2"
> +     default="$3"
> +     value=$(git config submodule."$name"."$option")
> +     if test -z "$value"
> +     then
> +             value=$(git config -f .gitmodules submodule."$name"."$option")
> +     fi
> +     printf '%s' "${value:-$default}"
> +}
> +
> +
> +#

Minor nit: For all other functions we only have one newline as
separator.

Cheers Heiko
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to