git-filter-branch: be more direct in an error message
commit6963893943dacc1a532d047c83ce905818dece46
authorJean-Noel Avila <jn.avila@free.fr>
Thu, 11 May 2017 12:06:34 +0000 (11 14:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 May 2017 06:27:10 +0000 (12 15:27 +0900)
tree42d1aab9c5aec1af57b1144dd967b47c6b912bb9
parent9932242f597b2990117430546e411793090e22e2
git-filter-branch: be more direct in an error message

git-filter-branch requires the specification of a branch by one way or
another. If no branch appears to have been specified, we know the user
got the usage wrong but we don't know what they were trying to do ---
e.g. maybe they specified the ref to rewrite but in the wrong place.

In this case, just state that the branch specification is missing.

Signed-off-by: Jean-Noel Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh