mbox series

[v3,0/4] grep: simplify "grep defaults" handling

Message ID cover.1606679312.git.martin.agren@gmail.com (mailing list archive)
Headers show
Series grep: simplify "grep defaults" handling | expand

Message

Martin Ågren Nov. 29, 2020, 7:52 p.m. UTC
This is v3 of my series [1] [2] to simplify the setup and use of the
`struct grep_opt grep_defaults`. The only difference compared to v2 is
an added comment in the third patch.

[1] https://lore.kernel.org/git/cover.1605972564.git.martin.agren@gmail.com/
[2] https://lore.kernel.org/git/cover.1606251357.git.martin.agren@gmail.com/

Martin Ågren (4):
  grep: don't set up a "default" repo for grep
  grep: use designated initializers for `grep_defaults`
  grep: copy struct in one fell swoop
  MyFirstObjectWalk: drop `init_walken_defaults()`

 Documentation/MyFirstObjectWalk.txt | 34 +---------
 grep.h                              |  1 -
 builtin/grep.c                      |  1 -
 builtin/log.c                       |  1 -
 grep.c                              | 98 +++++++++++------------------
 revision.c                          |  1 -
 6 files changed, 36 insertions(+), 100 deletions(-)

Comments

Junio C Hamano Dec. 1, 2020, 4:46 a.m. UTC | #1
Martin Ågren <martin.agren@gmail.com> writes:

> This is v3 of my series [1] [2] to simplify the setup and use of the
> `struct grep_opt grep_defaults`. The only difference compared to v2 is
> an added comment in the third patch.

Thanks, will queue.