]> git.99rst.org Git - git.git/commit
builtin/update-server-info: remove unnecessary if statement
authorUsman Akinyemi <redacted>
Mon, 7 Apr 2025 19:58:41 +0000 (01:28 +0530)
committerJunio C Hamano <redacted>
Tue, 8 Apr 2025 21:47:37 +0000 (14:47 -0700)
commit9ec327d922298f7adfa366c1d1ab2a795985c51e
tree39ac2e01b1c21300fdd9be10ed4ff81c1f94d606
parent66b90d9bad8476f6f3d71f5add5cf78809a998ed
builtin/update-server-info: remove unnecessary if statement

Since we already teach the `repo_config()` in f29f1990 (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()`.

Mentored-by: Christian Couder <redacted>
Signed-off-by: Usman Akinyemi <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/update-server-info.c
t/t1517-outside-repo.sh
git clone https://git.99rst.org/PROJECT