Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-01-18 17:19:36 +0300
committerJunio C Hamano <gitster@pobox.com>2008-01-19 00:29:32 +0300
commitaa54892f5ada8282643dc7387b33261c7135d784 (patch)
tree075bf84e1c434d7fe4a0f25bdf5559fe5740e539 /test-match-trees.c
parent5a7b1b571e2bf59c65f9e5333414d2e0f7df6952 (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 'test-match-trees.c')
0 files changed, 0 insertions, 0 deletions