Re: [PATCH 5/6] contrib/credential/wincred/git-credential-wincred.c: reduce scope of variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 16, 2014 at 11:33 AM, Elia Pinto <gitter.spiros@xxxxxxxxx> wrote:
> Signed-off-by: Elia Pinto <gitter.spiros@xxxxxxxxx>
> ---
>  contrib/credential/wincred/git-credential-wincred.c |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/contrib/credential/wincred/git-credential-wincred.c b/contrib/credential/wincred/git-credential-wincred.c
> index a1d38f0..edff71c 100644
> --- a/contrib/credential/wincred/git-credential-wincred.c
> +++ b/contrib/credential/wincred/git-credential-wincred.c
> @@ -258,11 +258,13 @@ static void read_credential(void)
>
>  int main(int argc, char *argv[])
>  {
> -       const char *usage =
> -           "usage: git credential-wincred <get|store|erase>\n";
>
>         if (!argv[1])
> +           {
> +               const char *usage =
> +                 "usage: git credential-wincred <get|store|erase>\n";
>                 die(usage);
> +           }
>

This is not the indentation/bracket-style we use in this source-file.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]