From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: ALSA official git repository Date: Fri, 27 May 2005 11:47:21 -0700 Message-ID: <7vvf54y092.fsf@assigned-by-dhcp.cox.net> References: <3516.10.10.10.24.1117213207.squirrel@linux1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sean , Jaroslav Kysela , LKML , Andrew Morton , Git Mailing List X-From: git-owner@vger.kernel.org Fri May 27 20:46:08 2005 Return-path: Received: from vger.kernel.org ([12.107.209.244]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dbjps-000788-CW for gcvg-git@gmane.org; Fri, 27 May 2005 20:45:32 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262529AbVE0Src (ORCPT ); Fri, 27 May 2005 14:47:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262519AbVE0Src (ORCPT ); Fri, 27 May 2005 14:47:32 -0400 Received: from fed1rmmtao02.cox.net ([68.230.241.37]:56199 "EHLO fed1rmmtao02.cox.net") by vger.kernel.org with ESMTP id S262507AbVE0SrY (ORCPT ); Fri, 27 May 2005 14:47:24 -0400 Received: from assigned-by-dhcp.cox.net ([68.4.60.172]) by fed1rmmtao02.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050527184723.LQIQ22430.fed1rmmtao02.cox.net@assigned-by-dhcp.cox.net>; Fri, 27 May 2005 14:47:23 -0400 To: Linus Torvalds In-Reply-To: (Linus Torvalds's message of "Fri, 27 May 2005 10:28:44 -0700 (PDT)") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org >>>>> "LT" == Linus Torvalds writes: LT> On Fri, 27 May 2005, Sean wrote: >> > >> > Now, arguably gitweb should ignore whitespace at the beginning, but >> > equally arguably your commits shouldn't have them either... >> >> Perhaps git should enforce this? Patch attached. >> >> Remove leading empty lines from commit messages. >> >> Signed-off-by: Sean Estabrooks LT> I'm not sure. LT> Opinions? Porcelains and gitweb should play with each other nicely, but the core should _not_ care by default. An extra option ("--text", perhaps) to git-commit-tree is acceptable to me, and it may be even a good thing to have. It would make life a bit easiear for Porcelain writers if nothing else. If that is to happen, I would say we could do more than just leading blank line removal. We can also remove trailing blanks before each LF, tabify indented log message contents, and remove empty lines before EOF.