[PATCH v2 0/3] dir: update outdated field names and comments about oid_stat
- From
Matheus Tavares <matheus.bernardino@usp.br>
- Date
- Mar 17, 2020, 18:57 UTC
- Message-ID
- <cover.1584471137.git.matheus.bernardino@usp.br>
- In-Reply-To
- <cover.1584329834.git.matheus.bernardino@usp.br>
In 4b33e60 ("dir: convert struct sha1_stat to use object_id", 2018-01-28), we renamed "struct sha1_stat" to "struct oid_stat". However, there are still some comments and struct field names which refer to the old sha1_stat. The patches in this series update those places.
Changes since v1: - Renamed "ss_info_exclude" and "ss_excludes_file" to "info_exclude_validity" and "excludes_file_validity", as suggested by Junio. - Added patch 3, addressing outdated comments' updates on dir.h, as suggested by Patryk.
Matheus Tavares (3): dir: fix outdated comment on add_patterns() dir: improve naming of oid_stat fields in two structs dir: update outdated comments about untracked cache
dir.c | 44 ++++++++++++++++------------ dir.h | 15 +++++----- t/helper/test-dump-untracked-cache.c | 5 ++-- 3 files changed, 37 insertions(+), 27 deletions(-)
-- 2.25.1