aboutsummaryrefslogtreecommitdiff
path: root/builtin-clean.c
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2008-03-26 18:05:17 +0000
committerJunio C Hamano <gitster@pobox.com>2008-03-26 16:15:02 -0700
commit5b67b8e2d4ed8a152694f4555549fcde5dae77f5 (patch)
treecff59728ab44692d7a2a38b015f674b7e257e1f5 /builtin-clean.c
parent40ae8872a1b8ba117e0365832f6621f968b1221e (diff)
downloadgit-5b67b8e2d4ed8a152694f4555549fcde5dae77f5.tar.gz
git-5b67b8e2d4ed8a152694f4555549fcde5dae77f5.tar.xz
imap-send: properly error out if imap.host is not set in config
If no imap host is specified in the git config, git imap-send used to try to lookup a null pointer through gethostbyname(), causing a segfault. Since setting the imap.host variable is mandatory, imap-send now properly fails with an explanatory error message. The problem has been reported by picca through http://bugs.debian.org/472632 Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-clean.c')
0 files changed, 0 insertions, 0 deletions