Skip to content

grep: simplify "grep defaults" handling

Martin Ågren git 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v24 patches 5 repliesSuperseded
  3. v14 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4grep: don't set up a "default" repo for grepDocumentation/MyFirstObjectWalk.txt builtin/grep.c builtin/log.c +3 more+6 -70 replies
2/4grep: use designated initializers for `grep_defaults`Documentation/MyFirstObjectWalk.txt builtin/grep.c builtin/log.c +3 more+26 -520 replies
3/4grep: copy struct in one fell swoopgrep.c+10 -230 replies
4/4MyFirstObjectWalk: drop `init_walken_defaults()`Documentation/MyFirstObjectWalk.txt+0 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] grep: simplify "grep defaults" handling

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/[email protected]/
[2] https://lore.kernel.org/git/[email protected]/

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(-)
Signature · 1 line
2.29.2.454.gaff20da3a2