remove unnecessary if statement
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | builtin/add: remove unnecessary if statementbuiltin/ | +1 | 0 replies | |
| 2/2 | builtin/difftool: remove unnecessary if statementbuiltin/ | +1 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Christian Couder |
|---|---|
| 1/2 | Mentored-by |
| 2/2 | Mentored-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] remove unnecessary if statement
Since we already teach the repo_config() in "f29f1990b5 (config: teach repo_config to allow repo to be NULL, 2025-03-08)" to allow repo to be NULL, no need to check if repo is NULL before calling repo_config().
This was suggested by Patrick Steinhardt <[email protected]>
Usman Akinyemi (2):
builtin/add: remove unnecessary if statement builtin/difftool: remove unnecessary if statement
builtin/add.c | 3 +-- builtin/difftool.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)
Signature · 1 line
2.49.0