Merge branch 'dd/use-alloc-grow'
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Mar 2014 20:50:21 +0000 (13:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Mar 2014 20:50:21 +0000 (13:50 -0700)
Replace open-coded reallocation with ALLOC_GROW() macro.

* dd/use-alloc-grow:
sha1_file.c: use ALLOC_GROW() in pretend_sha1_file()
read-cache.c: use ALLOC_GROW() in add_index_entry()
builtin/mktree.c: use ALLOC_GROW() in append_to_tree()
attr.c: use ALLOC_GROW() in handle_attr_line()
dir.c: use ALLOC_GROW() in create_simplify()
reflog-walk.c: use ALLOC_GROW()
replace_object.c: use ALLOC_GROW() in register_replace_object()
patch-ids.c: use ALLOC_GROW() in add_commit()
diffcore-rename.c: use ALLOC_GROW()
diff.c: use ALLOC_GROW()
commit.c: use ALLOC_GROW() in register_commit_graft()
cache-tree.c: use ALLOC_GROW() in find_subtree()
bundle.c: use ALLOC_GROW() in add_to_ref_list()
builtin/pack-objects.c: use ALLOC_GROW() in check_pbase_path()

1  2 
builtin/pack-objects.c
commit.c
diff.c
diffcore-rename.c
dir.c
read-cache.c
replace_object.c
sha1_file.c
Simple merge
diff --cc commit.c
Simple merge
diff --cc diff.c
Simple merge
Simple merge
diff --cc dir.c
Simple merge
diff --cc read-cache.c
Simple merge
Simple merge
diff --cc sha1_file.c
Simple merge