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

Re: git log --since to not stop after first old commit?

From
Ddemerphq <demerphq@gmail.com>
Date
Apr 11, 2022, 09:18 UTC
Message-ID
<CANgJU+U31g_27TdFGvZPy6wgk24OrnC8Z0+hZp2zVshEd7LgJg@mail.gmail.com>
In-Reply-To
<YlPMuxhpngs+x9n8@vmiklos.hu>
On Mon, 11 Apr 2022 at 08:37, Miklos Vajna <vmiklos@vmiklos.hu> wrote:
Show 10 quoted lines
>
> Hi Yves,
>
> On Sat, Apr 09, 2022 at 06:02:44AM +0200, demerphq <demerphq@gmail.com> wrote:
> > When you do have the cycles perhaps it is worth considering whether
> > splitting it up, so that --as-filter is a modifier for traversal stoppers,
> > would avoid the problem of proliferating options.   Eg, instead of saying
> > --since-as-filter you would say --since ... --as-filter.
>
> [PATCH v3] in this thread is meant to implement this. I hope that helps.

That sounds good to me and IMO certainly preferable to a stack of options with the suffix -as-filter. But please be aware that I am not a person of significance to the git project and my opinion on this probably isn't worth much. I just thought I would point out that it might be a way to cleanly address Junio's concern about option proliferation while still giving you what you want.

Cheers, Yves

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"
Previous: Miklos VajnaNext: Junio C Hamano
Message 18 of 24 in “git log --since to not stop after first old commit?”
  1. Miklos VajnaApr 1, 2022
  2. Ævar Arnfjörð BjarmasonApr 1, 2022
  3. Miklos VajnaApr 1, 2022
  4. Ævar Arnfjörð BjarmasonApr 1, 2022
  5. Junio C HamanoApr 1, 2022
  6. git-log: add a --since-as-filter optionMiklos Vajna, Apr 1, 2022
  7. git-log: add a --since-as-filter optionMiklos Vajna, Apr 2, 2022
  8. Miklos VajnaApr 7, 2022
  9. Junio C HamanoApr 8, 2022
  10. Junio C HamanoApr 8, 2022
  11. git-log: add a --since=... --as-filter optionMiklos Vajna, Apr 8, 2022
  12. Ævar Arnfjörð BjarmasonApr 12, 2022
  13. git-log: add a --since=... --as-filter optionMiklos Vajna, Apr 15, 2022
  14. Junio C HamanoApr 15, 2022
  15. log: "--as-filter" option adjusts how "--since" cut-off worksMiklos Vajna, Apr 16, 2022
  16. Miklos VajnaApr 22, 2022
  17. Miklos VajnaApr 11, 2022
  18. demerphqApr 11, 2022
  19. Junio C HamanoApr 11, 2022
  20. Junio C HamanoApr 22, 2022
  21. log: "--since-as-filter" option is a non-terminating "--since" variantMiklos Vajna, Apr 22, 2022
  22. Junio C HamanoApr 22, 2022
  23. log: "--since-as-filter" option is a non-terminating "--since" variantMiklos Vajna, Apr 23, 2022
  24. Junio C HamanoApr 22, 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.