summaryrefslogtreecommitdiff
path: root/t/t6042-merge-rename-corner-cases.sh
diff options
context:
space:
mode:
authorLibravatar Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>2017-08-21 19:06:08 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-04 13:08:17 +0900
commitf77762351445a73bbafc1464b4676d046e726468 (patch)
tree6ef70f3742099555cd2f01c1701c482d939c3ab7 /t/t6042-merge-rename-corner-cases.sh
parentGit 2.14.2 (diff)
downloadtgif-f77762351445a73bbafc1464b4676d046e726468.tar.xz
branch: change the error messages to be more meaningful
The error messages shown when the branch command is misused by supplying it wrong number of parameters wasn't meaningful. That's because it used the the phrase "too many branches" assuming all parameters to be "valid" branch names. It's not always the case as exemplified below, $ git branch foo * master $ git branch -m foo foo old fatal: too many branches for a rename operation Change the messages to be more general thus making no assumptions about the "parameters". Signed-off-by: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6042-merge-rename-corner-cases.sh')
0 files changed, 0 insertions, 0 deletions