From: Matthieu Moy Subject: Re: [PATCH v3 4/4] format-patch: add format.cover-letter configuration Date: Sun, 07 Apr 2013 18:20:57 +0200 Message-ID: References: <1365318630-11882-1-git-send-email-felipe.contreras@gmail.com> <1365318630-11882-5-git-send-email-felipe.contreras@gmail.com> <7v4nfi92q1.fsf@alter.siamese.dyndns.org> <7vmwta7lx3.fsf@alter.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain Cc: Junio C Hamano , git@vger.kernel.org, Thomas Rast , Stephen Boyd , Daniel Barkalow To: Felipe Contreras X-From: git-owner@vger.kernel.org Sun Apr 07 18:21:39 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UOsLX-0003TA-Tj for gcvg-git-2@plane.gmane.org; Sun, 07 Apr 2013 18:21:36 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934008Ab3DGQVV (ORCPT ); Sun, 7 Apr 2013 12:21:21 -0400 Received: from mx2.imag.fr ([129.88.30.17]:57242 "EHLO rominette.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934004Ab3DGQVU (ORCPT ); Sun, 7 Apr 2013 12:21:20 -0400 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by rominette.imag.fr (8.13.8/8.13.8) with ESMTP id r37GKtq0018820 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sun, 7 Apr 2013 18:20:55 +0200 Received: from anie.imag.fr ([129.88.7.32] helo=anie) by mail-veri.imag.fr with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UOsKv-0004RS-Iz; Sun, 07 Apr 2013 18:20:57 +0200 In-Reply-To: (Felipe Contreras's message of "Sun, 7 Apr 2013 11:03:15 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (rominette.imag.fr [129.88.30.17]); Sun, 07 Apr 2013 18:20:56 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: r37GKtq0018820 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: matthieu.moy@grenoble-inp.fr MailScanner-NULL-Check: 1365956458.12219@m5honCTfyCZQ8+T5mDZTfQ Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Felipe Contreras writes: > On Sun, Apr 7, 2013 at 9:50 AM, Matthieu Moy > wrote: >> Felipe Contreras writes: >> >>> So, I'm a user that does 'git format-patch --cover-letter=auto origin' >>> so I don't have the format.coverletter=auto configuration. Why? Why am >>> I not setting that configuration, and why am I running >>> --cover-letter=auto? >> >> The command may well be ran from a script or alias. > > Wouldn't this work for both cases? > > % git -c format.coverletter=auto format-patch Then, what's the point in having a --cover-letter option? "git -c" is a good last-chance solution, but when we provide the same feature as a command-line option and as a configuration option, I can see no reason to add subtle difference between them. -- Matthieu Moy http://www-verimag.imag.fr/~moy/