summaryrefslogtreecommitdiff
path: root/hashmap.c
diff options
context:
space:
mode:
authorLibravatar Taylor Blau <me@ttaylorr.com>2020-02-03 13:18:00 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-04 11:36:51 -0800
commit13c249924995d504001eb8083fac106041b32f98 (patch)
tree124fa563e1c9ed159af34bb8f55255d64f05bed7 /hashmap.c
parentcommit-graph.h: store an odb in 'struct write_commit_graph_context' (diff)
downloadtgif-13c249924995d504001eb8083fac106041b32f98.tar.xz
commit-graph.h: store object directory in 'struct commit_graph'
In a previous patch, the 'char *object_dir' in 'struct commit_graph' was replaced with a 'struct object_directory'. This patch applies the same treatment to 'struct commit_graph', which is another intermediate step towards getting rid of all path normalization in 'commit-graph.c'. Instead of taking a 'char *object_dir', functions that construct a 'struct commit_graph' now take a 'struct object_directory *'. Any code that needs an object directory path use '->path' instead. This ensures that all calls to functions that perform path normalization are given arguments which do not themselves require normalization. This prepares those functions to drop their normalization entirely, which will occur in the subsequent patch. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hashmap.c')
0 files changed, 0 insertions, 0 deletions