revert(3p/git): Revert merge of git upstream at v2.26.2
This causes cgit to serve error pages, which is undesirable. This reverts commit5229c9b232, reversing changes made tof2b211131f.
This commit is contained in:
parent
6f8fbf4aa4
commit
93ba78d6f4
1006 changed files with 60537 additions and 148724 deletions
|
|
@ -95,7 +95,7 @@ if PYTHON3:
|
|||
unicode = str
|
||||
|
||||
def write_str(f, msg):
|
||||
# Try outputting with the default encoding. If it fails,
|
||||
# Try outputing with the default encoding. If it fails,
|
||||
# try UTF-8.
|
||||
try:
|
||||
f.buffer.write(msg.encode(sys.getdefaultencoding()))
|
||||
|
|
@ -2129,7 +2129,7 @@ class SMTPMailer(Mailer):
|
|||
# equivalent to
|
||||
# self.smtp.ehlo()
|
||||
# self.smtp.starttls()
|
||||
# with access to the ssl layer
|
||||
# with acces to the ssl layer
|
||||
self.smtp.ehlo()
|
||||
if not self.smtp.has_extn("starttls"):
|
||||
raise smtplib.SMTPException("STARTTLS extension not supported by server")
|
||||
|
|
@ -2148,7 +2148,7 @@ class SMTPMailer(Mailer):
|
|||
cert_reqs=ssl.CERT_NONE
|
||||
)
|
||||
self.environment.get_logger().error(
|
||||
'*** Warning, the server certificate is not verified (smtp) ***\n'
|
||||
'*** Warning, the server certificat is not verified (smtp) ***\n'
|
||||
'*** set the option smtpCACerts ***\n'
|
||||
)
|
||||
if not hasattr(self.smtp.sock, "read"):
|
||||
|
|
@ -3189,7 +3189,7 @@ class ProjectdescEnvironmentMixin(Environment):
|
|||
self.COMPUTED_KEYS += ['projectdesc']
|
||||
|
||||
def get_projectdesc(self):
|
||||
"""Return a one-line description of the project."""
|
||||
"""Return a one-line descripition of the project."""
|
||||
|
||||
git_dir = get_git_dir()
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ config = git_multimail.Config('multimailhook')
|
|||
|
||||
# Set some Git configuration variables. Equivalent to passing var=val
|
||||
# to "git -c var=val" each time git is called, or to adding the
|
||||
# configuration in .git/config (must come before instantiating the
|
||||
# configuration in .git/config (must come before instanciating the
|
||||
# environment) :
|
||||
#git_multimail.Config.add_config_parameters('multimailhook.commitEmailFormat=html')
|
||||
#git_multimail.Config.add_config_parameters(('user.name=foo', 'user.email=foo@example.com'))
|
||||
|
|
|
|||
|
|
@ -329,7 +329,7 @@ generate_update_branch_email()
|
|||
#
|
||||
# git rev-parse --not --all | grep -v $(git rev-parse $refname)
|
||||
#
|
||||
# Gets us to something pretty safe (apart from the small time
|
||||
# Get's us to something pretty safe (apart from the small time
|
||||
# between refname being read, and git rev-parse running - for that,
|
||||
# I give up)
|
||||
#
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ opcode.
|
|||
Repository sections are matched on the basename of the repository
|
||||
(after removing the .git suffix).
|
||||
|
||||
The opcode abbreviations are:
|
||||
The opcode abbrevations are:
|
||||
|
||||
C: create new ref
|
||||
D: delete existing ref
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue