From: "Tom de Vries (Code Review)" <gerrit@gnutoolchain-gerrit.osci.io>
To: gdb-patches@sourceware.org
Cc: Kevin Buettner <kevinb@redhat.com>
Subject: [review v2] [gdb/contrib] Add -c option to words.sh script
Date: Fri, 22 Nov 2019 15:39:00 -0000 [thread overview]
Message-ID: <20191122153931.A4D512816F@gnutoolchain-gerrit.osci.io> (raw)
In-Reply-To: <gerrit.1573811593000.Ifa34d435b3c41b3ff845dc07ae4b0d9f02d92a2d@gnutoolchain-gerrit.osci.io>
Tom de Vries has posted comments on this change.
Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/654
......................................................................
Patch Set 2:
> Patch Set 1: Code-Review-1
>
> Two concerns...
>
> 1) The current behavior, IIUC, is that comments are extracted. Your patch changes the default behavior to extract all words. This may come as a surprise to anyone with existing scripts which use words.sh. It might make more sense to add some other switch (perhaps -a for "all") which keeps the present default behavior intact. It's not really that important to me that this be changed, but I thought I'd mention it.
>
Agreed, we shouldn't change default behaviour without thinking through the consequences for others, but given that this is a very recently added script as well as that there's most likely exactly one user (me!), I think we can allow ourselves this change.
> 2) I'd like to see a line or two documenting the new switch in the blurb at the beginning of the file.
I've improved docs of '-c' in the blurb.
--
Gerrit-Project: binutils-gdb
Gerrit-Branch: master
Gerrit-Change-Id: Ifa34d435b3c41b3ff845dc07ae4b0d9f02d92a2d
Gerrit-Change-Number: 654
Gerrit-PatchSet: 2
Gerrit-Owner: Tom de Vries <tdevries@suse.de>
Gerrit-Reviewer: Kevin Buettner <kevinb@redhat.com>
Gerrit-Reviewer: Tom de Vries <tdevries@suse.de>
Gerrit-Comment-Date: Fri, 22 Nov 2019 15:39:31 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
next prev parent reply other threads:[~2019-11-22 15:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-15 9:53 [review] " Tom de Vries (Code Review)
2019-11-22 3:45 ` Kevin Buettner (Code Review)
2019-11-22 15:34 ` [review v2] " Tom de Vries (Code Review)
2019-11-22 15:39 ` Tom de Vries (Code Review) [this message]
2019-11-25 18:45 ` Kevin Buettner (Code Review)
2019-11-25 22:01 ` [pushed] " Sourceware to Gerrit sync (Code Review)
2019-11-25 22:01 ` Sourceware to Gerrit sync (Code Review)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191122153931.A4D512816F@gnutoolchain-gerrit.osci.io \
--to=gerrit@gnutoolchain-gerrit.osci.io \
--cc=gdb-patches@sourceware.org \
--cc=gnutoolchain-gerrit@osci.io \
--cc=kevinb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox