Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[fr] update french translation 2210/2210
[gitweb.git]
/
builtin
/
repack.c
diff --git
a/builtin/repack.c
b/builtin/repack.c
index 91e2363c7172ae3db9304e1490234b2b4cfbe381..ba66c6e37782fcf1bad53b7986e69ec113c4521c 100644
(file)
--- a/
builtin/repack.c
+++ b/
builtin/repack.c
@@
-78,7
+78,7
@@
static void get_non_kept_pack_filenames(struct string_list *fname_list)
return;
while ((e = readdir(dir)) != NULL) {
- if (
suffixcmp
(e->d_name, ".pack"))
+ if (
!ends_with
(e->d_name, ".pack"))
continue;
len = strlen(e->d_name) - strlen(".pack");