git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCHv3] tag: add --edit option

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Feb 7, 2018, 10:00 UTC
Message-ID
<CAPig+cQ=Uvp5k7NprzqU1Cfi1b0jj5T63Nxzqg+O5ucinD9fmQ@mail.gmail.com>
In-Reply-To
<88e7c122-599f-4ab1-6d65-c75f7a3ae8bb@suse.com>

On Tue, Feb 6, 2018 at 3:36 AM, Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com> wrote:

Show 7 quoted lines
> Add a --edit option whichs allows modifying the messages provided by -m or -F,
> the same way git commit --edit does.
>
> Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
> ---
> Changes since v2 ( https://public-inbox.org/git/e99947cf-93ba-9376-f059-7f6a369d3ad5@suse.com ):
>  * Add [-e] to git tag summary

Thanks, I think this addresses all my comments from previous rounds. Just a couple minor style issues below...

Show 5 quoted lines
> diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
> @@ -452,6 +452,21 @@ test_expect_success \
> +> +test_expect_success \
> +       'creating an annotated tag with -m message --edit should succeed' '
> +       EDITOR=./fakeeditor     git tag -m "A message" --edit annotated-tag-edit &&
Whitespace between 'fakeeditor' and 'git' is a tab but should be a space.
Show 7 quoted lines
> +       get_tag_msg annotated-tag-edit >actual &&
> +       test_cmp expect actual
> +'
> @@ -465,6 +480,21 @@ test_expect_success \
> +test_expect_success \
> +       'creating an annotated tag with -F messagefile --edit should succeed' '
> +       EDITOR=./fakeeditor     git tag -F msgfile --edit file-annotated-tag-edit &&
Ditto.
> +       get_tag_msg file-annotated-tag-edit >actual &&
> +       test_cmp expect actual
> +'
Previous: Nicolas Morey-ChaisemartinNext: Junio C Hamano
Message 2 of 3 in “[PATCHv3] tag: add --edit option”
  1. Nicolas Morey-ChaisemartinFeb 6, 2018
  2. Eric SunshineFeb 7, 2018
  3. Junio C HamanoFeb 7, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.