summaryrefslogtreecommitdiff
path: root/t/t5100/patch0004
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2018-05-09 16:40:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-10 19:16:37 +0900
commit74fd0705bb3f99f6b74d6d23d1a1b2b0a926d412 (patch)
tree3acc37ee3c109afca998a1dc3302581cb3d012f7 /t/t5100/patch0004
parentobject.c: free replace map in raw_object_store_clear (diff)
downloadtgif-74fd0705bb3f99f6b74d6d23d1a1b2b0a926d412.tar.xz
replace-object.c: remove the_repository from prepare_replace_object
This was missed in 5982da9d2ce (replace-object: allow prepare_replace_object to handle arbitrary repositories, 2018-04-11) Technically the code works correctly as the replace_map is the same size in different repositories, however it is hard to read. So convert the code to the familiar pattern of dereferencing the pointer that we assign in the sizeof itself. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/patch0004')
0 files changed, 0 insertions, 0 deletions