diff options
author | Jan Krüger <jk@jk.gs> | 2010-09-10 15:28:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-10 08:37:14 -0700 |
commit | fb1bb96516d4bc985393c0bfb8bb7a6d6ce95045 (patch) | |
tree | e7010c8fff88d55fb74d1c3c8c2574bc242dea49 /Documentation/technical/api-in-core-index.txt | |
parent | Merge branch 'maint' (diff) | |
download | tgif-fb1bb96516d4bc985393c0bfb8bb7a6d6ce95045.tar.xz |
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>
Diffstat (limited to 'Documentation/technical/api-in-core-index.txt')
0 files changed, 0 insertions, 0 deletions