From mboxrd@z Thu Jan 1 00:00:00 1970 From: Caleb Thompson Subject: [PATCH v5 0/4] commit: Add commit.verbose configuration Date: Thu, 12 Jun 2014 14:38:58 -0500 Message-ID: <1402601942-45553-1-git-send-email-caleb@calebthompson.io> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Jeff King , Jeremiah Mahler , Duy Nguyen , Eric Sunshine , Johannes Sixt , David Kastrup , Junio C Hamano , Mike Burns To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Thu Jun 12 21:39:24 2014 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 1WvAqK-0006mt-0V for gcvg-git-2@plane.gmane.org; Thu, 12 Jun 2014 21:39:24 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752007AbaFLTjT convert rfc822-to-quoted-printable (ORCPT ); Thu, 12 Jun 2014 15:39:19 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:45664 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbaFLTjS (ORCPT ); Thu, 12 Jun 2014 15:39:18 -0400 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id C4EEB63F; Thu, 12 Jun 2014 15:39:17 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 12 Jun 2014 15:39:17 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=calebthompson.io; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=mesmtp; bh=3GwCHyeauBHX5+NfLycChw5 bPZ0=; b=IuMkC94hjkKMhyBpXDZlydXytk9GuCqfocRbaS3LORhd6rt8t6CP+VS cg4fRO2w5ackOXOry86pw6zc2h44/1Pk18gT57v332W0QmXkakEYvJOaPX9fdspX hTgY2WI93vKZh2u+prHvn1YL5tqDBZklme7AP50TVTQSHL8eCZOY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:date:message-id :mime-version:content-type:content-transfer-encoding; s=smtpout; bh=3GwCHyeauBHX5+NfLycChw5bPZ0=; b=j0M5Sz5dnBEQ4/IxfA4SbrZUHHtO 9ui4HMvIQM81cUBG1j36vK7JZKcvPAJzaa/PUtdwCX2BpaqV/Dwvu75ZDMyZljKU 5fDZUNtPZ3q49YhGew41aUhq4/V4XaVZt/b+UO9XHeFnUXXogr2j6sNgM2n0++zo w2PQEkwuHzPWTRw= X-Sasl-enc: tKrgC/9LV3vzHm2mLKzdDwOsGB0kkPHzdRb6pF8L0RWa 1402601957 Received: from localhost.localdomain (unknown [67.78.97.126]) by mail.messagingengine.com (Postfix) with ESMTPA id 881E6680156; Thu, 12 Jun 2014 15:39:16 -0400 (EDT) X-Mailer: git-send-email 2.0.0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: This patch allows people to set commit.verbose to implicitly send --verbose to git-commit. This version incorporates changes suggested by Eric Sunshine, Duy Nguyen, and Jeremiah Mahler. It introduces several cleanup patches to t/t7505-commit-verbose.sh to bring it closer to the current state of the tests as Eric has explained them to me, then adds the verbose config and --no-verbose flag. Since the last version of this patch (http://marc.info/?l=3Dgit&m=3D140251155830422&w=3D2), I've made the fo= llowing changes: * Revert change to flags, as --no-verbose already existed and worked as expected with the commit.verbose configuration. Thanks to Ren=C3=A9 = Scharfe. * Fix <<-'EOS' style for check-for-no-diff script. Thanks to Mike Burns= =2E Additionally, this set of patches was generated by format-patch, so it should work correctly with git-am. ------------------------------------------------------ Caleb Thompson (4): commit test: Use test_config instead of git-config commit test: Use write_script commit test: test_set_editor in each test commit: add commit.verbose configuration Documentation/config.txt | 5 +++ Documentation/git-commit.txt | 8 ++++- builtin/commit.c | 4 +++ contrib/completion/git-completion.bash | 1 + t/t7507-commit-verbose.sh | 64 +++++++++++++++++++++++++-= -------- 5 files changed, 64 insertions(+), 18 deletions(-) -- 2.0.0