Re: 'setup_work_tree()' considered harmful

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Tuesday, June 17, 2008 - 4:01 am

Hi,

On Mon, 16 Jun 2008, Linus Torvalds wrote:


Yes, I am not happy with work-tree.  In fact, I grew to positively hate 
it.  IMHO it was not well designed when it entered Git, and unfortunately 
my endeavors to clean it up were not very successful, either.


Yes, that is true.  However, I think we need it for the case where 
work_tree is set (technically, we could try to be clever when work_tree is 
set in such a manner that we can operate with relative paths, but I think 
that is just not worth it).

So I am thinking about reverting to the old behavior, but _just_ for the 
common case that no work tree was set.

This might be more tricky than it used to be, because of the many special 
cases work trees require.

I briefly considered working on this now, but I simply do not have the 
time, and I seem to be unconcentrated these days.  Probably the best thing 
would be to scrap the whole work-tree thing and throw it out, admitting 
that it was a mistake to begin with.

Ciao,
Dscho

--
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:
'setup_work_tree()' considered harmful, Linus Torvalds, (Mon Jun 16, 5:45 pm)
Re: 'setup_work_tree()' considered harmful, Linus Torvalds, (Mon Jun 16, 5:52 pm)
Re: 'setup_work_tree()' considered harmful, Johannes Schindelin, (Tue Jun 17, 4:01 am)
Re: 'setup_work_tree()' considered harmful, Mike Hommey, (Wed Jun 18, 2:05 am)
Re: 'setup_work_tree()' considered harmful, Linus Torvalds, (Wed Jun 18, 9:26 am)