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

Re: [PATCH] tag: Implicitly supply --list given another list-like option

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 12, 2017, 02:51 UTC
Message-ID
<xmqqefy3w6k0.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CACBZZX4AJqvtZQdZZFU8+1So5G9F11_SN4=za+8p=KYim9SFSQ@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 5 quoted lines
>> Junio: This will merge conflict with my in-flight --no-contains
>> patch. I can re-send either one depending on which you want to accept
>> first, this patch will need an additional test for --no-contains. I
>> just wanted to get this on the ML for review before the --no-contains
>> patch hit "master".

I haven't looked at the patch text of this one closely yet, but I think the goals of both make sense, so we would eventually want to have them both.

I also think that "if you said --contains, --merged, etc. you are already asking to give you a list and cannot be creating a new one", which is the topic of this patch, makes sense even if nobody were interested in asking "--no-contains".

So perhaps you would want this applied first, so that existing three can already benefit from "implicit --list" before waiting for the other one?

Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 6 of 11 in “BUG: "git branch --contains <commit> <name>" does nothing, silently fails”
  1. Ævar Arnfjörð BjarmasonMar 10, 2017
  2. Jeff KingMar 10, 2017
  3. Ævar Arnfjörð BjarmasonMar 10, 2017
  4. tag: Implicitly supply --list given another list-like optionÆvar Arnfjörð Bjarmason, Mar 11, 2017
  5. Ævar Arnfjörð BjarmasonMar 11, 2017
  6. Junio C HamanoMar 12, 2017
  7. Junio C HamanoMar 12, 2017
  8. Ævar Arnfjörð BjarmasonMar 12, 2017
  9. Junio C HamanoMar 12, 2017
  10. Ævar Arnfjörð BjarmasonMar 12, 2017
  11. Jeff KingMar 12, 2017

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.