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

Re: [PATCH 3/3] grep: stop looking at random places for .gitattributes

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:54:59

On Thu, Oct 11, 2012 at 2:04 PM, Michael Haggerty [off-list ref] wrote:
Maybe I'm being too much of a purist, but I don't think that git should
retroactively reinterpret history on its own initiative in a way that
might not be correct (e.g., maybe your encoding changed from ASCII to
Shift-JIS sometime in the past).  It would be more appropriate for this
to happen only if explicitly requested by the user.  For example, why
don't you override the incorrect historical attributes via
.git/info/attributes?
I think git-notes is a more appropriate place to correct these things.
If the incorrect commits are pruned, their notes can also be pruned.
No poluttion in $GIT_DIR/info/attr.. And i'm your side, no checking
worktree without user's permission.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help