From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: VC and too long command lines Date: Mon, 01 Aug 2011 23:48:39 -0400 Message-ID: References: <4E2821C0.5090409@dogan.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312256933 3676 80.91.229.12 (2 Aug 2011 03:48:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2011 03:48:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 02 05:48:50 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qo5yI-0005SX-2h for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2011 05:48:46 +0200 Original-Received: from localhost ([::1]:39829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo5yG-0004TK-VT for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2011 23:48:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo5yE-0004TD-E7 for emacs-devel@gnu.org; Mon, 01 Aug 2011 23:48:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qo5yD-0000wk-Fh for emacs-devel@gnu.org; Mon, 01 Aug 2011 23:48:42 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:49536 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo5yD-0000vV-9l for emacs-devel@gnu.org; Mon, 01 Aug 2011 23:48:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EANVyN05FxKfe/2dsb2JhbABCp194gUABAQQBViMFCws0EhQYDSSHf8ENhkIEn0qEMQ X-IronPort-AV: E=Sophos;i="4.67,304,1309752000"; d="scan'208";a="128372871" Original-Received: from 69-196-167-222.dsl.teksavvy.com (HELO ceviche.home) ([69.196.167.222]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 01 Aug 2011 23:48:39 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 221EE660CF; Mon, 1 Aug 2011 23:48:39 -0400 (EDT) In-Reply-To: <4E2821C0.5090409@dogan.se> (Deniz Dogan's message of "Thu, 21 Jul 2011 14:55:28 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142669 Archived-At: > I think the most appropriate thing would be to add some functionality which > determines the maximum command line length for the current system and if the > call exceeds that length, tell the user about it. Another way would be to > e.g. divide the commit into several smaller commits and appending something > along the lines of "(commit N of M)" to each commit message. > What do you think? I think this is quite an important issue. No, the problem here is that VC should encourage you (and better support) to mark directories rather than marking each and every file. Splitting the command into several commands is right since a commit is a single atomic entity which in general can't be split. Stefan