diff options
author | Hui Wang <Hui.Wang@windriver.com> | 2011-09-07 18:37:47 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-09-07 11:47:43 -0700 |
commit | 5bdf0a8468efd55cf8f13cafdb946c0ade3372fe (patch) | |
tree | 4502b09ed2356f1c0f2dda91446dc8d106ef88a0 /t/t3102-ls-tree-wildcards.sh | |
parent | Git 1.7.6 (diff) | |
download | tgif-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/t3102-ls-tree-wildcards.sh')
0 files changed, 0 insertions, 0 deletions