From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Obry Subject: [PATCH v2 0/3] Add support for SMTP server options Date: Sat, 4 Sep 2010 21:55:25 +0200 Message-ID: <1283630128-3472-1-git-send-email-pascal@obry.net> Cc: Pascal Obry To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sat Sep 04 21:55:33 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Orypp-0005c4-3j for gcvg-git-2@lo.gmane.org; Sat, 04 Sep 2010 21:55:33 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752842Ab0IDTz2 (ORCPT ); Sat, 4 Sep 2010 15:55:28 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:38160 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752026Ab0IDTz1 (ORCPT ); Sat, 4 Sep 2010 15:55:27 -0400 Received: by wyf22 with SMTP id 22so1379184wyf.19 for ; Sat, 04 Sep 2010 12:55:26 -0700 (PDT) Received: by 10.227.68.149 with SMTP id v21mr506767wbi.138.1283630126389; Sat, 04 Sep 2010 12:55:26 -0700 (PDT) Received: from localhost (AVelizy-154-1-100-4.w90-2.abo.wanadoo.fr [90.2.58.4]) by mx.google.com with ESMTPS id k15sm2199373wer.47.2010.09.04.12.55.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Sep 2010 12:55:25 -0700 (PDT) X-Mailer: git-send-email 1.7.2.2.277.gb49c4 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: I'm not familiar at all with Perl so comments on style or usage most welcomed. This patch is to introduce a way to pass specific options to the SMTP server used by git-send-email. I need that to be able to use different SMTP account (wanadoo, gmail...) on some Git repositories to send over proper identity. This is v2 of the patch thanks to Junio and AEvar for the initial review and help. The two first patches are really code clean-up found while working on this new feature. The last patch is the actual implementation of this new feature. Pascal Obry (3): Minor indentation fix. Remove @smtp_host_parts variable as not used. New send-email option smtpserveroption. Documentation/git-send-email.txt | 8 ++++++++ git-send-email.perl | 12 +++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) -- 1.7.2.2.277.gb49c4