diff options
author | Jeff King <peff@peff.net> | 2008-01-18 09:19:36 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-18 13:29:32 -0800 |
commit | aa54892f5ada8282643dc7387b33261c7135d784 (patch) | |
tree | 075bf84e1c434d7fe4a0f25bdf5559fe5740e539 /contrib/remotes2config.sh | |
parent | fast-import: Don't use a maybe-clobbered errno value (diff) | |
download | tgif-aa54892f5ada8282643dc7387b33261c7135d784.tar.xz |
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 'contrib/remotes2config.sh')
0 files changed, 0 insertions, 0 deletions