diff options
Diffstat (limited to 'connected.c')
-rw-r--r-- | connected.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connected.c b/connected.c index 427389dc4..be0253e21 100644 --- a/connected.c +++ b/connected.c @@ -38,7 +38,7 @@ static int check_everything_connected_real(sha1_iterate_fn fn, if (transport && transport->smart_options && transport->smart_options->self_contained_and_connected && transport->pack_lockfile && - !suffixcmp(transport->pack_lockfile, ".keep")) { + ends_with(transport->pack_lockfile, ".keep")) { struct strbuf idx_file = STRBUF_INIT; strbuf_addstr(&idx_file, transport->pack_lockfile); strbuf_setlen(&idx_file, idx_file.len - 5); /* ".keep" */ |