Re: [PATCH] ident: say whose identity is missing when giving user.name hint

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

 



One nit though: There is no `--committer` flag for `git commit`,
unless this has changed after the v2.28.0 release:

```
$ g commit -m message --committer someone@xxxxxxxxxxxx
error: unknown option `committer'
$ git --version
git version 2.28.0
```

On Fri, Aug 21, 2020 at 5:13 PM Junio C Hamano <gitster@xxxxxxxxx> wrote:
>
> Eric Sunshine <sunshine@xxxxxxxxxxxxxx> writes:
>
> >     If `user.name` and `user.email` have not been configured and the
> >     user invokes:
> >
> >         git commit --author=...
> >
> >     without without specifying `--committer=`, then Git errors out
> >     with a message asking the user to configure `user.name` and
> >     `user.email` but doesn't tell the user which attribution was
> >     missing. This can be confusing for a user new to Git who isn't
> >     aware of the distinction between user, author, and committer.
> >     Give such users a bit more help by extending the error message to
> >     also say which attribution is expected.
>
> Much easier to read.  Will steal.
>




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

  Powered by Linux