summaryrefslogtreecommitdiff
path: root/src/pack.c
diff options
context:
space:
mode:
authorYoichi Nakayama <yoichi.nakayama@gmail.com>2021-11-23 10:12:29 +0900
committerYoichi Nakayama <yoichi.nakayama@gmail.com>2021-11-23 10:20:04 +0900
commit7bb206a76dca70b7db236315d348c6c9fc325cab (patch)
treee38bb2d225746de8343db08837840e84aad3ece0 /src/pack.c
parent540b02f3b97baf2bc1d62210a23d522b5d73e5eb (diff)
parentf9c4dc10d90732cfbe2271dd58b01dd8f4003d15 (diff)
downloadlibgit2-7bb206a76dca70b7db236315d348c6c9fc325cab.tar.gz
Merge branch 'main' into better-compatiblity-for-at-time-notation
Conflicts: src/revparse.c
Diffstat (limited to 'src/pack.c')
-rw-r--r--src/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.c b/src/pack.c
index e17d20f8c..5c0cba7e8 100644
--- a/src/pack.c
+++ b/src/pack.c
@@ -1198,7 +1198,7 @@ int git_packfile_alloc(struct git_pack_file **pack_out, const char *path)
if (!git_disable_pack_keep_file_checks) {
memcpy(p->pack_name + root_len, ".keep", sizeof(".keep"));
- if (git_path_exists(p->pack_name) == true)
+ if (git_fs_path_exists(p->pack_name) == true)
p->pack_keep = 1;
}