summaryrefslogtreecommitdiff
path: root/Documentation/manpage-quote-apos.xsl
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-10-06 12:48:42 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-10 10:53:33 -0700
commite8c42cb9ce6a566aad797cc6c5bc1279d608d819 (patch)
treee43133ea5a1cd25e181b3daf7cdbab1a82104cbb /Documentation/manpage-quote-apos.xsl
parentfiles_read_raw_ref: avoid infinite loop on broken symlinks (diff)
downloadtgif-e8c42cb9ce6a566aad797cc6c5bc1279d608d819.tar.xz
files_read_raw_ref: prevent infinite retry loops in general
Limit the number of retries to 3. That should be adequate to prevent any races, while preventing the possibility of infinite loops if the logic fails to handle any other possible error modes correctly. After the fix in the previous commit, there's no known way to trigger an infinite loop, but I did manually verify that this fixes the test in that commit even when the code change is not applied. Signed-off-by: Jeff King <peff@peff.net> Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/manpage-quote-apos.xsl')
0 files changed, 0 insertions, 0 deletions