aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJay Soffian <jaysoffian@gmail.com>2009-03-31 12:22:11 -0400
committerJunio C Hamano <gitster@pobox.com>2009-04-01 11:10:06 -0700
commit5906f54e474c6e8aabb0f6b955d446b509cde06e (patch)
treecf5a423e7fef09ae718a21140943d736849eb8de /contrib/persistent-https
parentMerge git://git.bogomips.org/git-svn (diff)
downloadgit-5906f54e474c6e8aabb0f6b955d446b509cde06e.tar.gz
git-5906f54e474c6e8aabb0f6b955d446b509cde06e.zip
send-email: don't attempt to prompt if tty is closed
Attempting to prompt when the tty is closed (typically when running from cron) is pointless and emits a warning. This patch causes ask() to return early, squelching the warning. Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions