Thread (24 messages) flat view 24 messages, 4 authors, 2016-06-15

Re: [PATCH v2 2/2] sha1_file: use strncmp for string comparison

From: Jeff King <hidden>
Date: 2016-06-15 23:01:46

On Mon, Jun 30, 2014 at 06:35:50PM +0200, René Scharfe wrote:
quoted
It's probably not a big deal, as we don't expect random
junk in the pack directory, but I wonder if it would be better to be
explicit, like:
<snip>

Here's a simpler approach:
I agree that solves the problem. However, I'm about to post an
alternative series that also replaces has_extension with strip_suffix,
which I think ends up a bit nicer.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help