Re: .gittattributes handling has deficiencies

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steffen Prohaska
Date: Sunday, October 21, 2007 - 1:21 pm

On Oct 21, 2007, at 7:57 PM, david@lang.hm wrote:


I suspected this. I see two problems:

1) it's too dangerous: I throws away _all_ changes, not only
changes that are related to gitattributes.

2) it doesn't work reliably. git checkout -f will only update
files that git detects as changed. But you could have files that
should have crlf in the working copy but actually have only lf.
Those would not be updated.

I'll not recommend this. Not using .gitattributes is the only
sane solution.

	Steffen
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
.gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 1:48 am)
Re: .gittattributes handling has deficiencies, david, (Sun Oct 21, 2:19 am)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 3:27 am)
Re: .gittattributes handling has deficiencies, david, (Sun Oct 21, 10:09 am)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 10:25 am)
Re: .gittattributes handling has deficiencies, david, (Sun Oct 21, 10:57 am)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 1:21 pm)
Re: .gittattributes handling has deficiencies, david, (Sun Oct 21, 4:49 pm)
Re: .gittattributes handling has deficiencies, david, (Sun Oct 21, 5:05 pm)
Re: .gittattributes handling has deficiencies, Shawn O. Pearce, (Sun Oct 21, 10:01 pm)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 10:38 pm)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 10:45 pm)
Re: .gittattributes handling has deficiencies, Johannes Schindelin, (Mon Oct 22, 3:29 am)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Mon Oct 22, 6:04 am)