From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Cogito RFE: cg-commit -q Date: Thu, 13 Oct 2005 10:45:52 -0700 Message-ID: <434E9D50.2040807@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-From: git-owner@vger.kernel.org Thu Oct 13 19:47:39 2005 Return-path: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQ79e-00047G-8U for gcvg-git@gmane.org; Thu, 13 Oct 2005 19:46:10 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932140AbVJMRqH (ORCPT ); Thu, 13 Oct 2005 13:46:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932141AbVJMRqH (ORCPT ); Thu, 13 Oct 2005 13:46:07 -0400 Received: from terminus.zytor.com ([192.83.249.54]:40131 "EHLO terminus.zytor.com") by vger.kernel.org with ESMTP id S932140AbVJMRqG (ORCPT ); Thu, 13 Oct 2005 13:46:06 -0400 Received: from [10.4.1.13] (yardgnome.orionmulti.com [209.128.68.65]) (authenticated bits=0) by terminus.zytor.com (8.13.4/8.13.4) with ESMTP id j9DHjwZP031339 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Oct 2005 10:45:58 -0700 User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en To: Git Mailing List , Petr Baudis X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on localhost X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on terminus.zytor.com Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: I would find it very useful if cg-commit had a "-q" option, meaning "silently skip this commit if there is nothing to commit." There are some automatic release scripts that I have which enforces consistency before release, but if the repository is already correctly set up for release, there is nothing to do. This is the opposite of -f, which would create a commit object pointing to the same tree. -hpa