summaryrefslogtreecommitdiff
path: root/src/transports/local.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-11-22 00:01:09 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2020-11-27 11:09:21 +0000
commit4f5f112793c520eaf3f517b295c0128e0efea73e (patch)
tree28d48648b6a109d847ea3ef2729141b492af9282 /src/transports/local.c
parent07a3c9928aa36cfd6f02d500222ed6cb22eeeed1 (diff)
downloadlibgit2-4f5f112793c520eaf3f517b295c0128e0efea73e.tar.gz
transports: use GIT_ASSERT
Diffstat (limited to 'src/transports/local.c')
-rw-r--r--src/transports/local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/local.c b/src/transports/local.c
index 210de9f74..4af85db81 100644
--- a/src/transports/local.c
+++ b/src/transports/local.c
@@ -158,7 +158,7 @@ static int store_refs(transport_local *t)
git_remote_head *head;
git_strarray ref_names = {0};
- assert(t);
+ GIT_ASSERT_ARG(t);
if (git_reference_list(&ref_names, t->repo) < 0)
goto on_error;