From: Johannes Sixt Date: Fri, 10 Sep 2010 11:29:19 GMT Subject: Re: [PATCH] read-tree: abort if no trees are given Message-ID: <4C8A168F.1030502@viscovery.net> In-Reply-To: <20100910120604.50aa1e94@jk.gs> Am 9/10/2010 12:06, schrieb Jan Krüger: > Currently, read-tree silently accepts an invocation without any > tree-ishs given and simply clobbers the index in that case. This > contradicts the usage synopsis and it's also probably not what anyone > would want to happen. So, instead, abort with a fatal error. See http://thread.gmane.org/gmane.comp.version-control.git/135280/focus=135407 and the discussion that ensued; perhaps intersting is http://thread.gmane.org/gmane.comp.version-control.git/135280/focus=135462 (where Junio suggest to make this a warning for now). -- Hannes