diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2023-11-17 13:15:15 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-11-20 08:15:50 +0900 |
commit | 50f1abcff6681ae06334b3deef39b20aec261c15 (patch) | |
tree | d4b1622313335499563ec18ce51e8dc09f1a3c48 /commit-graph.c | |
parent | 61a22ddaf0626111193a17ac12f366bd6d167dff (diff) |
packfile.c: fix a typo in `each_file_in_pack_dir_fn()`'s declaration
One parameter is called `file_pach`. On the face of it, this looks as if
it was supposed to talk about a `path` instead of a `pach`.
However, looking at the way this callback is called, it gets fed the
`d_name` from a directory entry, which provides just the file name, not
the full path. Therefore, let's fix this by calling the parameter
`file_name` instead.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions