aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.show_--root_initial
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-12-28 10:48:50 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-28 08:00:44 -0800
commite4981ed1e72d3f25da901b9415d2c4805bed0dbc (patch)
treebfd4661fe27c1992f25113b315ec427f296133b6 /t/t4013/diff.show_--root_initial
parentreftable: fix allocation count on realloc error (diff)
downloadgit-e4981ed1e72d3f25da901b9415d2c4805bed0dbc.tar.gz
git-e4981ed1e72d3f25da901b9415d2c4805bed0dbc.zip
reftable: handle realloc error in parse_names()
Check the final reallocation for adding the terminating NULL and handle it just like those in the loop. Simply use REFTABLE_ALLOC_GROW instead of keeping the REFTABLE_REALLOC_ARRAY call and adding code to preserve the original pointer value around it. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.show_--root_initial')
0 files changed, 0 insertions, 0 deletions
a211a89b&follow=1'>git-send-email.txt: move --format-patch paragraph to a proper locationAdeodato Simó1-6/+6 2008-12-27git-shortlog.txt: improve documentation about .mailmap filesAdeodato Simó1-7/+33 2008-12-27pretty: support multiline subjects with format:René Scharfe1-19/+34 2008-12-27pretty: factor out format_subject()René Scharfe1-18/+24 2008-12-27pretty: factor out skip_empty_lines()René Scharfe1-9/+15 2008-12-26merge-file: handle freopen() failureRené Scharfe1-2/+5 2008-12-26daemon: cleanup: factor out xstrdup_tolower()René Scharfe1-21/+13 2008-12-26daemon: cleanup: replace loop with ifRené Scharfe1-13/+5 2008-12-26daemon: handle freopen() failureRené Scharfe1-1/+3 2008-12-26describe: Avoid unnecessary warning when using --allShawn O. Pearce2-1/+7 2008-12-24GIT 1.6.1v1.6.1Junio C Hamano2-0/+9 2008-12-24rebase -i -p: leave a --cc patch when a merge could not be redoneJohannes Schindelin2-3/+13 2008-12-22t9129: skip the last three tests if UTF-8 locale is not availableMiklos Vajna1-13/+17 2008-12-21GIT 1.6.1-rc4v1.6.1-rc4Junio C Hamano1-1/+18 2008-12-21Always show which directory is not a git repositoryRichard Hartmann3-4/+4 2008-12-21Make help entries alphabeticalRichard Hartmann1-4/+4 2008-12-21git-revert documentation: refer to new HOWTO on reverting faulty mergesBoyd Stephen Smith Jr1-0/+8 2008-12-21git-revert: record the parent against which a revert was madeRobin Rosenberg1-0/+5 2008-12-22gitk: Force the focus to the main window on WindowsJohannes Sixt1-0/+5 2008-12-22gitk: Allow unbalanced quotes/braces in commit headersKevin Ballard1-2/+3 2008-12-22gitk: Update German translationChristian Stimming1-29/+157 2008-12-22gitk: Mark forgotten strings (header sentence parts in color chooser) for tra...Christian Stimming1-6/+6 2008-12-22gitk: Ensure that "Reset branch" menu entry is enabledJohannes Sixt1-1/+1 2008-12-22gitk: Use check-buttons' -text property instead of separate labelsJohannes Sixt1-20/+10 2008-12-22gitk: Map / to focus the search boxGiuseppe Bilotta1-2/+2 2008-12-21doc/git-fsck: change the way for getting heads' SHA1sMarkus Heidelberg1-1/+2 2008-12-21Documentation/git-show-branch: work around "single quote" typesetting glitchMarkus Heidelberg1-1/+1 2008-12-21send-email: futureproof split_addrs() subJunio C Hamano1-1/+1 2008-12-21Make sure lockfiles are unlocked when dying on SIGPIPEJunio C Hamano2-0/+18 2008-12-21fast-import.c: stricter strtoul check, silence compiler warningRené Scharfe1-4/+7 2008-12-21connect.c: stricter port validation, silence compiler warningRené Scharfe1-2/+2