Thread (1 message) 1 message, 1 author, 2019-08-26

Re: [PATCH v4 2/2] apply: reload .gitattributes after patching it

From: Junio C Hamano <hidden>
Date: 2019-08-26 16:41:48

Phillip Wood [off-list ref] writes:
I spent some time digging into this and the attributes are reloaded
before each pick. This is because check_updates() called by
unpack_trees() calls git_attr_set_direction(GIT_ATTR_CHECKOUT) at the
start of the function and git_attr_set_direction(GIT_ATTR_CHECKIN) at
the end of the function. This has the effect of dropping all loaded
attributes as git_attr_set_direction() calls drop_all_attr_stacks()
when the direction is changed.
Ah, OK (and thanks), so it was working by accident ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help