threads / patch / 40189

patchgit-submodule: remove extraneous space from error message

Subject: [PATCH] git-submodule: remove extraneous space from error message

## tl;dr

2 messages between Aug 27, 2015 and Aug 27, 2015. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Alex Henrie· Aug 27, 2015, 04:26 UTC · lore
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 git-submodule.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to git-submodule.sh +1 −1
diff --git a/git-submodule.sh b/git-submodule.sh
index 36797c3..25b1ddf 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -904,7 +904,7 @@ Maybe you want to use 'update --init'?")"
 				;;
 			!*)
 				command="${update_module#!}"
-				die_msg="$(eval_gettext "Execution of '\$command \$sha1' failed in submodule  path '\$prefix\$sm_path'")"
+				die_msg="$(eval_gettext "Execution of '\$command \$sha1' failed in submodule path '\$prefix\$sm_path'")"
 				say_msg="$(eval_gettext "Submodule path '\$prefix\$sm_path': '\$command \$sha1'")"
 				must_die_on_failure=yes
 				;;
-- 
2.5.0
Chris Packham· Aug 27, 2015, 09:17 UTC · re: Alex Henrie · lore

Re: [PATCH] git-submodule: remove extraneous space from error message

On Thu, Aug 27, 2015 at 4:26 PM, Alex Henrie <alexhenrie24@gmail.com> wrote:
Show 21 quoted lines
> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---
>  git-submodule.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/git-submodule.sh b/git-submodule.sh
> index 36797c3..25b1ddf 100755
> --- a/git-submodule.sh
> +++ b/git-submodule.sh
> @@ -904,7 +904,7 @@ Maybe you want to use 'update --init'?")"
>                                 ;;
>                         !*)
>                                 command="${update_module#!}"
> -                               die_msg="$(eval_gettext "Execution of '\$command \$sha1' failed in submodule  path '\$prefix\$sm_path'")"
> +                               die_msg="$(eval_gettext "Execution of '\$command \$sha1' failed in submodule path '\$prefix\$sm_path'")"
>                                 say_msg="$(eval_gettext "Submodule path '\$prefix\$sm_path': '\$command \$sha1'")"
>                                 must_die_on_failure=yes
>                                 ;;
> --
> 2.5.0
>
Looks good to me. Thanks
Reviewed-by: Chris Packham <judge.packham@gmail.com>

← back to recent threads