git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Previous: Jeff KingNext: Matheus Tavares
Message 10 of 13 in “dir: update outdated fields and comments about oid_stat”
  1. 0/2 dir: update outdated fields and comments about oid_statMatheus Tavares, Mar 16, 2020
  2. 1/2 dir: fix outdated comment on add_patterns()Matheus Tavares, Mar 16, 2020
  3. 2/2 dir: improve naming of oid_stat fields in two structsMatheus Tavares, Mar 16, 2020
  4. Junio C HamanoMar 16, 2020
  5. Patryk ObaraMar 16, 2020
  6. Matheus Tavares BernardinoMar 16, 2020
  7. Junio C HamanoMar 16, 2020
  8. Junio C HamanoMar 16, 2020
  9. Jeff KingMar 16, 2020
  10. 0/3 dir: update outdated field names and comments about oid_statMatheus Tavares, Mar 17, 2020
  11. 1/3 dir: fix outdated comment on add_patterns()Matheus Tavares, Mar 17, 2020
  12. 2/3 dir: improve naming of oid_stat fields in two structsMatheus Tavares, Mar 17, 2020
  13. 3/3 dir: update outdated comments about untracked cacheMatheus Tavares, Mar 17, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.