Re: [PATCH] read-tree: abort if no trees are given
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