diff options
| author | Michael Haggerty <mhagger@alum.mit.edu> | 2016-09-04 18:08:23 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-09-09 15:28:13 -0700 |
| commit | 48a8475fd3f935d753cc2e0dd81562bc73f6d6d3 (patch) | |
| tree | 378c216572c8fee7fb2e371a3e039aa9d1de963a /t/t4013/diff.format-patch_--inline_--stdout_initial..side | |
| parent | resolve_gitlink_ref(): implement using resolve_ref_recursively() (diff) | |
| download | git-48a8475fd3f935d753cc2e0dd81562bc73f6d6d3.tar.gz git-48a8475fd3f935d753cc2e0dd81562bc73f6d6d3.zip | |
resolve_gitlink_ref(): avoid memory allocation in many cases
If we don't have to strip trailing '/' from the submodule path, then
don't allocate and copy the submodule name.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..side')
0 files changed, 0 insertions, 0 deletions
