Re: [PATCH 2/2] read-tree: at least one tree-ish argument is required

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Sixt
Date: Friday, December 18, 2009 - 12:04 pm

On Freitag, 18. Dezember 2009, Junio C Hamano wrote:

Yes, you said that, but in response to the footnote in 1/2.


IMO, not only is it not useful, but it is also dangerous - it erases the 
index!


For an operation like this, shouldn't we advocate this alternate instruction 
(which explicitly tells what is wanted) rather than the implicit and 
undocumented operation of parameter-less read-tree?


Sorry to drag you into this discussion, but I felt this change is maint-worthy 
(because the behavior is not only risky, but dangerous).

-- Hannes
--
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:
Re: [PATCH 1/2] filter-branch: remove an unnecessary use o ..., Johannes Schindelin, (Tue Dec 15, 10:19 am)
Re: [PATCH 2/2] read-tree: at least one tree-ish argument ..., Johannes Sixt, (Fri Dec 18, 12:04 pm)
Re: [PATCH 2/2] read-tree: at least one tree-ish argument ..., Sverre Rabbelier, (Fri Dec 18, 12:24 pm)
Re: [PATCH 2/2] read-tree: at least one tree-ish argument ..., Sverre Rabbelier, (Fri Dec 18, 12:37 pm)
Re: [PATCH 2/2] read-tree: at least one tree-ish argument ..., Sverre Rabbelier, (Fri Dec 18, 12:59 pm)
Re: [PATCH 2/2] read-tree: at least one tree-ish argument ..., Sverre Rabbelier, (Fri Dec 18, 1:21 pm)
Re: [PATCH 2/2] read-tree: at least one tree-ish argument ..., Nanako Shiraishi, (Fri Dec 18, 8:25 pm)
Re: [PATCH 2/2] read-tree: at least one tree-ish argument ..., Johannes Schindelin, (Sat Dec 19, 3:56 am)