blame: improve diagnosis for "--reverse NEW"
authorJunio C Hamano <gitster@pobox.com>
Tue, 14 Jun 2016 17:46:06 +0000 (10:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Jun 2016 19:12:15 +0000 (12:12 -0700)
commitd993ce1ed2f025708b0f78bed241466e35f1e8a0
treeb5fcc45707d598f83f00b93474ec44e41a1ff271
parent0b65a8dbdb38962e700ee16776a3042beb489060
blame: improve diagnosis for "--reverse NEW"

"git blame --reverse OLD..NEW -- PATH" tells us to start from the
contents in PATH at OLD and observe how each line is changed while
the history develops up to NEW, and report for each line the latest
commit up to which the line survives in the original form.

If you say "git blame --reverse NEW -- PATH" by mistake, we complain
about the missing OLD, but we phrased it as "No commit to dig down
to?"  In this case, however, we are digging up from OLD, so say so.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-blame.txt
builtin/blame.c