1
0
mirror of https://github.com/git/git synced 2024-07-05 00:58:49 +00:00

Revert "Merge branch 'dt/refs-check-refname-component-sse-fix'"

This reverts commit 779c99fd68, reversing
changes made to df4d7d5646.
This commit is contained in:
Junio C Hamano 2014-07-28 10:41:16 -07:00
parent 49f1cb93a2
commit dad2e7f4bf
2 changed files with 5 additions and 13 deletions

3
refs.c
View File

@ -153,7 +153,6 @@ int check_refname_format(const char *refname, int flags)
const __m128i tilde_lb = _mm_set1_epi8('~' - 1);
int component_count = 0;
int orig_flags = flags;
if (refname[0] == 0 || refname[0] == '/') {
/* entirely empty ref or initial ref component */
@ -179,7 +178,7 @@ int check_refname_format(const char *refname, int flags)
* End-of-page; fall back to slow method for
* this entire ref.
*/
return check_refname_format_bytewise(refname, orig_flags);
return check_refname_format_bytewise(refname, flags);
tmp = _mm_loadu_si128((__m128i *)cp);
tmp1 = _mm_loadu_si128((__m128i *)(cp + 1));

View File

@ -50,17 +50,10 @@
fun:copy_ref
}
{
ignore-sse-check_refname_format-addr
ignore-sse-check_refname_format
Memcheck:Addr8
fun:check_refname_format
}
{
ignore-sse-check_refname_format-cond
Memcheck:Cond
fun:check_refname_format
}
{
ignore-sse-check_refname_format-value
Memcheck:Value8
fun:check_refname_format
fun:cmd_check_ref_format
fun:handle_builtin
fun:main
}