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

Re: [PATCH] bugreport: clarify that -o expects a directory and not a file

From
Alex Henrie <alexhenrie24@gmail.com>
Date
Sep 28, 2022, 16:27 UTC
Message-ID
<CAMMLpeTbuV4_xRbGLMBTz9U+XL1MzoL_TZO_GjE4Dar8DenhDw@mail.gmail.com>
In-Reply-To
<220928.86tu4rwmzk.gmgdl@evledraar.gmail.com>

On Wed, Sep 28, 2022 at 9:13 AM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

Show 5 quoted lines
>
> Hi, there's an outstanding patch of mine queued in "seen" that fixes the
> same issue. I sent a re-roll of it after you submitted this (but the v1
> had been in "seen". See:
> https://lore.kernel.org/git/patch-v2-17.35-97873747a1e-20220928T082458Z-avarab@gmail.com/

Thanks! It looks like you caught a lot more inconsistencies than I did. Let's forget about my patch and just wait for yours to be merged.

Show 6 quoted lines
> Per that change I think the right thing here is to convert both to use
> "<path>".
>
> I don't really have a strong opinion per-se on if we use "<dir>" or
> "<path>", but from grepping around the latter seems more common, even in
> cases where we mean "a path that's only a dir".

My main concern is that the usage string says that `git bugreport -o` expects a file when in fact it expects a directory. I don't have a strong opinion on whether the usage string should say <dir> or <path>; either is more correct than <file>.

-Alex
Previous: Ævar Arnfjörð Bjarmason
Message 3 of 3 in “bugreport: clarify that -o expects a directory and not a file”
  1. bugreport: clarify that -o expects a directory and not a fileAlex Henrie, Sep 28, 2022
  2. Ævar Arnfjörð BjarmasonSep 28, 2022
  3. Alex HenrieSep 28, 2022

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.