diff options
| author | Usman Akinyemi <usmanakinyemi202@gmail.com> | 2025-04-20 08:24:32 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-04-20 14:17:20 -0700 |
| commit | 2e4e439ec27c1d14f205bdd3cceb51b30c5d6d74 (patch) | |
| tree | 4f107d2594994891a3743f75be2f300d9835a754 /builtin/commit-graph.c | |
| parent | Merge branch 'ua/some-builtins-wo-the-repository' (diff) | |
| download | git-2e4e439ec27c1d14f205bdd3cceb51b30c5d6d74.tar.gz git-2e4e439ec27c1d14f205bdd3cceb51b30c5d6d74.zip | |
builtin/add: 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()`.
Suggested-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions
