diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-05-10 21:31:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-10 21:42:17 -0700 |
commit | b9b10d36816b8c7276bb83eb08fdbb59f68ef99b (patch) | |
tree | c6f0a165bb7a66b646907abe9a0b5aadb3a796de /Documentation/git-config.txt | |
parent | Git 2.10.3 (diff) | |
download | tgif-b9b10d36816b8c7276bb83eb08fdbb59f68ef99b.tar.xz |
read-tree: "read-tree -m --empty" does not make sense
fb1bb965 ("read-tree: deprecate syntax without tree-ish args",
2010-09-10) wanted to deprecate "git read-tree" without any tree,
which used to be the way to empty the index, and encourage use of
"git read-tree --empty" instead.
However, when used with "-m", "--empty" does not make any sense,
either, simply because merging 0 trees will result in a different
error anyway.
Omit the deprecation warning and let the code to emit real error
message diagnose the error.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-config.txt')
0 files changed, 0 insertions, 0 deletions