git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] chore: fix typo in .clang-format comment
@ 2023-10-29 20:23 Aditya Neelamraju via GitGitGadget
  2023-10-30 16:56 ` Taylor Blau
  2023-10-31 13:40 ` [PATCH v2] clang-format: fix typo in comment Aditya Neelamraju via GitGitGadget
  0 siblings, 2 replies; 7+ messages in thread
From: Aditya Neelamraju via GitGitGadget @ 2023-10-29 20:23 UTC (permalink / raw
  To: git; +Cc: Aditya Neelamraju, Aditya Neelamraju

From: Aditya Neelamraju <adityanv97@gmail.com>

Signed-off-by: Aditya Neelamraju <adityanv97@gmail.com>
---
    chore: fix typo in .clang-format comment

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1602%2Faneelamr%2Fclang-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1602/aneelamr/clang-v1
Pull-Request: https://github.com/git/git/pull/1602

 .clang-format | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.clang-format b/.clang-format
index c592dda681f..3ed4fac753a 100644
--- a/.clang-format
+++ b/.clang-format
@@ -83,9 +83,9 @@ BinPackParameters: true
 BreakBeforeBraces: Linux
 
 # Break after operators
-# int valuve = aaaaaaaaaaaaa +
-#              bbbbbb -
-#              ccccccccccc;
+# int value = aaaaaaaaaaaaa +
+#             bbbbbb -
+#             ccccccccccc;
 BreakBeforeBinaryOperators: None
 BreakBeforeTernaryOperators: false
 

base-commit: 2e8e77cbac8ac17f94eee2087187fa1718e38b14
-- 
gitgitgadget


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] chore: fix typo in .clang-format comment
  2023-10-29 20:23 [PATCH] chore: fix typo in .clang-format comment Aditya Neelamraju via GitGitGadget
@ 2023-10-30 16:56 ` Taylor Blau
  2023-10-31  3:12   ` Junio C Hamano
  2023-10-31 13:40 ` [PATCH v2] clang-format: fix typo in comment Aditya Neelamraju via GitGitGadget
  1 sibling, 1 reply; 7+ messages in thread
From: Taylor Blau @ 2023-10-30 16:56 UTC (permalink / raw
  To: Aditya Neelamraju via GitGitGadget; +Cc: git, Aditya Neelamraju

On Sun, Oct 29, 2023 at 08:23:07PM +0000, Aditya Neelamraju via GitGitGadget wrote:
> From: Aditya Neelamraju <adityanv97@gmail.com>

We typically prefix commit messages with the subject area they're
working in, not with "chore", or "feat" like some Git workflows
recommend.

That said, the contents of this patch look obviously correct to me.
Thanks for noticing and fixing!

Thanks,
Taylor


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] chore: fix typo in .clang-format comment
  2023-10-30 16:56 ` Taylor Blau
@ 2023-10-31  3:12   ` Junio C Hamano
  2023-10-31 19:09     ` Taylor Blau
  0 siblings, 1 reply; 7+ messages in thread
From: Junio C Hamano @ 2023-10-31  3:12 UTC (permalink / raw
  To: Taylor Blau; +Cc: Aditya Neelamraju via GitGitGadget, git, Aditya Neelamraju

Taylor Blau <me@ttaylorr.com> writes:

> On Sun, Oct 29, 2023 at 08:23:07PM +0000, Aditya Neelamraju via GitGitGadget wrote:
>> From: Aditya Neelamraju <adityanv97@gmail.com>
>
> We typically prefix commit messages with the subject area they're
> working in, not with "chore", or "feat" like some Git workflows
> recommend.
> ...
> That said, the contents of this patch look obviously correct to me.
> Thanks for noticing and fixing!

As a comment for a new contributor, it is a bit unhelpful not to
suggest what the "subject area" string we would use if we were
working on this patch, I think.

I also suspected that valuve may be a valid word in some language,
as the indentation in the example looked as if the six-letter word
was meant, not typoed.  https://www.gasolineravaluve.com/ was one
of the first hits I saw in my search ;-)



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2] clang-format: fix typo in comment
  2023-10-29 20:23 [PATCH] chore: fix typo in .clang-format comment Aditya Neelamraju via GitGitGadget
  2023-10-30 16:56 ` Taylor Blau
@ 2023-10-31 13:40 ` Aditya Neelamraju via GitGitGadget
  2023-10-31 19:09   ` Taylor Blau
  1 sibling, 1 reply; 7+ messages in thread
From: Aditya Neelamraju via GitGitGadget @ 2023-10-31 13:40 UTC (permalink / raw
  To: git; +Cc: Aditya Neelamraju, Aditya Neelamraju

From: Aditya Neelamraju <adityanv97@gmail.com>

Signed-off-by: Aditya Neelamraju <adityanv97@gmail.com>
---
    clang-format: fix typo in comment for formatting binary operations.
    
    cc: Taylor Blau me@ttaylorr.com

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1602%2Faneelamr%2Fclang-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1602/aneelamr/clang-v2
Pull-Request: https://github.com/git/git/pull/1602

Range-diff vs v1:

 1:  e3ff8aa76fe ! 1:  dfb442ea338 chore: fix typo in .clang-format comment
     @@ Metadata
      Author: Aditya Neelamraju <adityanv97@gmail.com>
      
       ## Commit message ##
     -    chore: fix typo in .clang-format comment
     +    clang-format: fix typo in comment
      
          Signed-off-by: Aditya Neelamraju <adityanv97@gmail.com>
      


 .clang-format | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.clang-format b/.clang-format
index c592dda681f..3ed4fac753a 100644
--- a/.clang-format
+++ b/.clang-format
@@ -83,9 +83,9 @@ BinPackParameters: true
 BreakBeforeBraces: Linux
 
 # Break after operators
-# int valuve = aaaaaaaaaaaaa +
-#              bbbbbb -
-#              ccccccccccc;
+# int value = aaaaaaaaaaaaa +
+#             bbbbbb -
+#             ccccccccccc;
 BreakBeforeBinaryOperators: None
 BreakBeforeTernaryOperators: false
 

base-commit: 2e8e77cbac8ac17f94eee2087187fa1718e38b14
-- 
gitgitgadget


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] chore: fix typo in .clang-format comment
  2023-10-31  3:12   ` Junio C Hamano
@ 2023-10-31 19:09     ` Taylor Blau
  2023-10-31 23:40       ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Taylor Blau @ 2023-10-31 19:09 UTC (permalink / raw
  To: Junio C Hamano; +Cc: Aditya Neelamraju via GitGitGadget, git, Aditya Neelamraju

On Tue, Oct 31, 2023 at 12:12:43PM +0900, Junio C Hamano wrote:
> Taylor Blau <me@ttaylorr.com> writes:
>
> > On Sun, Oct 29, 2023 at 08:23:07PM +0000, Aditya Neelamraju via GitGitGadget wrote:
> >> From: Aditya Neelamraju <adityanv97@gmail.com>
> >
> > We typically prefix commit messages with the subject area they're
> > working in, not with "chore", or "feat" like some Git workflows
> > recommend.
> > ...
> > That said, the contents of this patch look obviously correct to me.
> > Thanks for noticing and fixing!
>
> As a comment for a new contributor, it is a bit unhelpful not to
> suggest what the "subject area" string we would use if we were
> working on this patch, I think.

Good suggestion. I would have suggested "clang-format", which is
exactly Aditya ended up choosing, anyway. Thanks, Aditya!

> I also suspected that valuve may be a valid word in some language,
> as the indentation in the example looked as if the six-letter word
> was meant, not typoed.  https://www.gasolineravaluve.com/ was one
> of the first hits I saw in my search ;-)

;-)

Thanks,
Taylor


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] clang-format: fix typo in comment
  2023-10-31 13:40 ` [PATCH v2] clang-format: fix typo in comment Aditya Neelamraju via GitGitGadget
@ 2023-10-31 19:09   ` Taylor Blau
  0 siblings, 0 replies; 7+ messages in thread
From: Taylor Blau @ 2023-10-31 19:09 UTC (permalink / raw
  To: Aditya Neelamraju via GitGitGadget; +Cc: git, Aditya Neelamraju

On Tue, Oct 31, 2023 at 01:40:28PM +0000, Aditya Neelamraju via GitGitGadget wrote:
> From: Aditya Neelamraju <adityanv97@gmail.com>
>
> Signed-off-by: Aditya Neelamraju <adityanv97@gmail.com>
> ---

Thanks, this version looks great to me.

Thanks,
Taylor


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] chore: fix typo in .clang-format comment
  2023-10-31 19:09     ` Taylor Blau
@ 2023-10-31 23:40       ` Junio C Hamano
  0 siblings, 0 replies; 7+ messages in thread
From: Junio C Hamano @ 2023-10-31 23:40 UTC (permalink / raw
  To: Taylor Blau; +Cc: Aditya Neelamraju via GitGitGadget, git, Aditya Neelamraju

Taylor Blau <me@ttaylorr.com> writes:

>> As a comment for a new contributor, it is a bit unhelpful not to
>> suggest what the "subject area" string we would use if we were
>> working on this patch, I think.
>
> Good suggestion. I would have suggested "clang-format", which is
> exactly Aditya ended up choosing, anyway. Thanks, Aditya!

Thanks.  I was being lazy when I said the above ;-)

Teaching how to fish instead of giving fish, the way I would have
done is

   $ git log --no-merges --stat --full-diff .clang-format

and inspect what they use.  The ones that used "clang-format:" are
indeed very similar in spirit to what this one does, I would say.

Thanks.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-10-31 23:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-29 20:23 [PATCH] chore: fix typo in .clang-format comment Aditya Neelamraju via GitGitGadget
2023-10-30 16:56 ` Taylor Blau
2023-10-31  3:12   ` Junio C Hamano
2023-10-31 19:09     ` Taylor Blau
2023-10-31 23:40       ` Junio C Hamano
2023-10-31 13:40 ` [PATCH v2] clang-format: fix typo in comment Aditya Neelamraju via GitGitGadget
2023-10-31 19:09   ` Taylor Blau

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).