]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rj/restore-plug-leaks'
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2024 23:16:33 +0000 (16:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2024 23:16:33 +0000 (16:16 -0700)
Leaks from "git restore" have been plugged.

* rj/restore-plug-leaks:
  checkout: plug some leaks in git-restore

1  2 
builtin/checkout.c
t/t2071-restore-patch.sh

Simple merge
index 27e85be40ad6957f9070a609d83ae334776ed855,9b25eb39c76ae75f34c6441773047270ec571d54..42d552211915754e14ddb79d869fc9ba8f517fce
@@@ -2,9 -2,10 +2,10 @@@
  
  test_description='git restore --patch'
  
+ TEST_PASSES_SANITIZE_LEAK=true
  . ./lib-patch-mode.sh
  
 -test_expect_success PERL 'setup' '
 +test_expect_success 'setup' '
        mkdir dir &&
        echo parent >dir/foo &&
        echo dummy >bar &&