aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-08 16:22:05 -0800
committerJunio C Hamano <gitster@pobox.com>2024-02-08 16:22:05 -0800
commitbcab40f14fbcfc54b2f568862a25d1fdd01804d4 (patch)
tree4c819f17039e4506036db6db927098c3a0921393
parent1685e9ffe664e834c3d2d7a28144f3e52c0add4f (diff)
parent50f1abcff6681ae06334b3deef39b20aec261c15 (diff)
downloadgit-bcab40f14fbcfc54b2f568862a25d1fdd01804d4.tar.gz
Merge branch 'js/packfile-h-typofix' into maint-2.43
Typofix. * js/packfile-h-typofix: packfile.c: fix a typo in `each_file_in_pack_dir_fn()`'s declaration
-rw-r--r--packfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/packfile.h b/packfile.h
index c3692308b8..28c8fd3e39 100644
--- a/packfile.h
+++ b/packfile.h
@@ -54,7 +54,7 @@ const char *pack_basename(struct packed_git *p);
struct packed_git *parse_pack_index(unsigned char *sha1, const char *idx_path);
typedef void each_file_in_pack_dir_fn(const char *full_path, size_t full_path_len,
- const char *file_pach, void *data);
+ const char *file_name, void *data);
void for_each_file_in_pack_dir(const char *objdir,
each_file_in_pack_dir_fn fn,
void *data);