diff options
author | Jeff King <peff@peff.net> | 2008-01-18 17:19:36 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-19 00:29:32 +0300 |
commit | aa54892f5ada8282643dc7387b33261c7135d784 (patch) | |
tree | 075bf84e1c434d7fe4a0f25bdf5559fe5740e539 /xdiff-interface.h | |
parent | 5a7b1b571e2bf59c65f9e5333414d2e0f7df6952 (diff) |
send-email: detect invocation errors earlier
We never even look at the command line arguments until after
we have prompted the user for some information. So running
"git send-email" without arguments would prompt for "from"
and "to" headers, only to then die with "No patch files
specified." Instead, let's try to do as much error checking
as possible before getting user input.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.h')
0 files changed, 0 insertions, 0 deletions