aboutsummaryrefslogtreecommitdiffstats
path: root/t/t2070-restore.sh
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/t2070-restore.sh
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/t2070-restore.sh')
0 files changed, 0 insertions, 0 deletions
a href='/git/commit/po/fr.po?id=ccb3b537cc847791c0e28c72ee1f9e6e807f2f6f&follow=1'>git-gui: Update french translationChristian Couder1-45/+33 2008-04-03git-gui: Switch keybindings for [ and ] to bracketleft and bracketrightShawn O. Pearce1-4/+4 2008-04-02GIT 1.5.5-rc3v1.5.5-rc3Junio C Hamano2-5/+5 2008-04-02Describe the bug in handling filenames with funny characters in 'git add -i'Teemu Likonen1-0/+6 2008-04-02t7004-tag: Skip more tests if gpg is not available.Johannes Sixt1-7/+8 2008-04-02verify-tag: Clean up the temporary file if gpg cannot be started.Johannes Sixt1-1/+3 2008-04-01help: Add a missing OPT_END().Christian Couder1-0/+1 2008-04-01Accept git aliases outside a git repositoryJunio C Hamano1-1/+2 2008-04-02git-gui 0.10gitgui-0.10.0Shawn O. Pearce1-1/+1 2008-04-02git-gui: Add shortcut keys for Show More/Less ContextJonathan del Strother1-8/+32 2008-03-31mktag.c: tweak validation of tagger field and adjust test scriptBrandon Casey2-31/+86 2008-03-31filter-branch: Fix renaming a directory in the tree-filterveillette@yahoo.ca2-2/+2 2008-03-31filter-branch: Test renaming directories in a tree-filterJohannes Sixt1-2/+18 2008-03-30mktag.c: improve verification of tagger field and testsBrandon Casey2-14/+176 2008-03-30diff-files: careful when inspecting work tree itemsJunio C Hamano2-9/+14 2008-03-30diff-index: careful when inspecting work tree itemsJunio C Hamano2-15/+56