summaryrefslogtreecommitdiffstats
path: root/replace_object.c
diff options
context:
space:
mode:
authorJan Krüger <jk@jk.gs>2010-09-10 15:28:59 +0200
committerJunio C Hamano <gitster@pobox.com>2010-09-10 17:37:14 +0200
commitfb1bb96516d4bc985393c0bfb8bb7a6d6ce95045 (patch)
treee7010c8fff88d55fb74d1c3c8c2574bc242dea49 /replace_object.c
parentMerge branch 'maint' (diff)
downloadgit-fb1bb96516d4bc985393c0bfb8bb7a6d6ce95045.tar.xz
git-fb1bb96516d4bc985393c0bfb8bb7a6d6ce95045.zip
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 'replace_object.c')
0 files changed, 0 insertions, 0 deletions