threads / patch / 10531

patchFixed a command line option type for builtin-fsck.c

Subject: [PATCH] Fixed a command line option type for builtin-fsck.c

## tl;dr

2 messages between Oct 30, 2007 and Oct 30, 2007. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Emil Medve· Oct 30, 2007, 19:15 UTC · lore
The typo was introduced by this commit: 5ac0a2063e8f824f6e8ffb4d18de74c55aae7131
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
---
This patch applies to the 'next' branch
 builtin-fsck.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to builtin-fsck.c +1 −1
diff --git a/builtin-fsck.c b/builtin-fsck.c
index 64da3bd..e4874f6 100644
--- a/builtin-fsck.c
+++ b/builtin-fsck.c
@@ -680,7 +680,7 @@ static struct option fsck_opts[] = {
 	OPT_BOOLEAN(0, "cache", &keep_cache_objects, "make index objects head nodes"),
 	OPT_BOOLEAN(0, "reflogs", &include_reflogs, "make reflogs head nodes (default)"),
 	OPT_BOOLEAN(0, "full", &check_full, "also consider alternate objects"),
-	OPT_BOOLEAN(0, "struct", &check_strict, "enable more strict checking"),
+	OPT_BOOLEAN(0, "strict", &check_strict, "enable more strict checking"),
 	OPT_BOOLEAN(0, "lost-found", &write_lost_and_found,
 				"write dangling objects in .git/lost-found"),
 	OPT_END(),
-- 
1.5.3.4.1458.g3e72e-dirty
Pierre Habouzit· Oct 30, 2007, 20:20 UTC · re: Emil Medve · lore

Re: [PATCH] Fixed a command line option type for builtin-fsck.c

On Tue, Oct 30, 2007 at 07:15:21PM +0000, Emil Medve wrote:
> The typo was introduced by this commit: 5ac0a2063e8f824f6e8ffb4d18de74c55aae7131
> 
> Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Acked-By: Pierre Habouzit <madcoder@debian.org>
  good catch.
Show 23 quoted lines
> ---
> 
> This patch applies to the 'next' branch
> 
>  builtin-fsck.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/builtin-fsck.c b/builtin-fsck.c
> index 64da3bd..e4874f6 100644
> --- a/builtin-fsck.c
> +++ b/builtin-fsck.c
> @@ -680,7 +680,7 @@ static struct option fsck_opts[] = {
>  	OPT_BOOLEAN(0, "cache", &keep_cache_objects, "make index objects head nodes"),
>  	OPT_BOOLEAN(0, "reflogs", &include_reflogs, "make reflogs head nodes (default)"),
>  	OPT_BOOLEAN(0, "full", &check_full, "also consider alternate objects"),
> -	OPT_BOOLEAN(0, "struct", &check_strict, "enable more strict checking"),
> +	OPT_BOOLEAN(0, "strict", &check_strict, "enable more strict checking"),
>  	OPT_BOOLEAN(0, "lost-found", &write_lost_and_found,
>  				"write dangling objects in .git/lost-found"),
>  	OPT_END(),
> -- 
> 1.5.3.4.1458.g3e72e-dirty
> 
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

← back to recent threads