mbox series

[0/2] dir: update outdated fields and comments about oid_stat

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

Message

Matheus Tavares March 16, 2020, 3:47 a.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 two patches in this series update those
places to avoid confusion.

Matheus Tavares (2):
  dir: fix outdated comment on add_patterns()
  dir: improve naming of oid_stat fields in two structs

 dir.c                                | 35 ++++++++++++++--------------
 dir.h                                |  8 +++----
 t/helper/test-dump-untracked-cache.c |  4 ++--
 3 files changed, 24 insertions(+), 23 deletions(-)