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

2 messages from 2007-10-30 to 2007-10-30. Participants: Emil Medve, Pierre Habouzit.
Thread: https://gitlist.dev/t/10531

## Emil Medve, 2007-10-30 19:15

Subject: [PATCH] Fixed a command line option type for builtin-fsck.c
Message-ID: <1193771721-2880-1-git-send-email-Emilian.Medve@Freescale.com>
URL: https://gitlist.dev/e/1193771721-2880-1-git-send-email-Emilian.Medve%40Freescale.com

```
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(-)

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, 2007-10-30 20:20

Subject: Re: [PATCH] Fixed a command line option type for builtin-fsck.c
Message-ID: <20071030202050.GA9776@artemis.corp>
URL: https://gitlist.dev/e/20071030202050.GA9776%40artemis.corp
In-Reply-To: <1193771721-2880-1-git-send-email-Emilian.Medve@Freescale.com>

```
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.

> ---
> 
> 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

```
