Re: [PATCH] read-tree: deprecate syntax without tree-ish args
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 10, 2010, 15:36 UTC
- Message-ID
- <7vhbhxip9u.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20100910152859.778636d4@jk.gs>
Jan Krüger <jk@jk.gs> writes:
Show 6 quoted lines
> Currently, read-tree can be run without tree-ish arguments, in which > case it will empty the index. Since this behavior is undocumented and > perhaps a bit too invasive to be the "default" action for read-tree, > deprecate it in favor of a new --empty option that does the same thing. > > Signed-off-by: Jan Krüger <jk@jk.gs>
Sounds sensible; will queue. Thanks.