summaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2020-02-04 10:25:07 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2020-06-22 19:04:08 +0100
commit53ed7494028990bcfc7ddd778ed264ad7348624e (patch)
tree3e7af19a61bb37ccde2327dfeae1a7aafac266e6 /infra
parenta1f11a98f79b9a907a5f48e108f0c794a4a500cb (diff)
git-debrebase: Fix error message for wrong use of -i
Getopt::Long with "i:s" parses "-i something" as "-i" with a value of "something". Maybe I didn't know this when I wrote this code, and thought the check for $val would only reject "-isomething". But "git-rebrebase ... -i something" is wrong because it would mean "git-rebase -i something" and we do not permit the user to specify their own base. So it is right to bail out in this case. However, the message was wrong, since it refers to cuddling, and it can be caused by a non-cuddled non-option argument. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'infra')
0 files changed, 0 insertions, 0 deletions