mbox series

[v2,0/3] dir: update outdated field names and comments about oid_stat

Message ID cover.1584471137.git.matheus.bernardino@usp.br (mailing list archive)
Headers show
Series dir: update outdated field names and comments about oid_stat | expand

Message

Matheus Tavares March 17, 2020, 6:57 p.m. UTC
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(-)