summaryrefslogtreecommitdiff
path: root/t/t3700-add.sh
diff options
context:
space:
mode:
authorLibravatar Hui Wang <Hui.Wang@windriver.com>2011-09-07 18:37:47 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-09-07 11:47:43 -0700
commit5bdf0a8468efd55cf8f13cafdb946c0ade3372fe (patch)
tree4502b09ed2356f1c0f2dda91446dc8d106ef88a0 /t/t3700-add.sh
parentGit 1.7.6 (diff)
downloadtgif-5bdf0a8468efd55cf8f13cafdb946c0ade3372fe.tar.xz
sha1_file: normalize alt_odb path before comparing and storing
When it needs to compare and add an alt object path to the alt_odb_list, we normalize this path first since comparing normalized path is easy to get correct result. Use strbuf to replace some string operations, since it is cleaner and safer. Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Hui Wang <Hui.Wang@windriver.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3700-add.sh')
0 files changed, 0 insertions, 0 deletions