commit | fb1bb96516d4bc985393c0bfb8bb7a6d6ce95045 | [log] [tgz] |
---|---|---|
author | Jan Krüger <jk@jk.gs> | Fri Sep 10 15:28:59 2010 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Sep 10 08:37:14 2010 -0700 |
tree | e7010c8fff88d55fb74d1c3c8c2574bc242dea49 | |
parent | 8ac8cf5bc17ef11a9c5d51ab128ad010cb37c464 [diff] |
read-tree: deprecate syntax without tree-ish args 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> Signed-off-by: Junio C Hamano <gitster@pobox.com>