]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ua/call-repo-config-with-possibly-null-repository'
authorJunio C Hamano <gitster@pobox.com>
Tue, 29 Apr 2025 21:21:27 +0000 (14:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Apr 2025 21:21:27 +0000 (14:21 -0700)
Since a call to repo_config() can be called with repo set to NULL
these days, a command that is marked as RUN_SETUP in the builtin
command table does not have to check repo with NULL before making
the call.

* ua/call-repo-config-with-possibly-null-repository:
  builtin/difftool: remove unnecessary if statement
  builtin/add: remove unnecessary if statement

1  2 
builtin/difftool.c

Simple merge