Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ZsEcv-0001cC-Ql for mharc-grub-devel@gnu.org; Fri, 30 Oct 2015 14:42:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsD37-000223-TJ for grub-devel@gnu.org; Fri, 30 Oct 2015 13:01:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsD34-0003ks-Na for grub-devel@gnu.org; Fri, 30 Oct 2015 13:01:09 -0400 Received: from cloud.peff.net ([50.56.180.127]:59121) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZsD34-0003kk-G1 for grub-devel@gnu.org; Fri, 30 Oct 2015 13:01:06 -0400 Received: (qmail 29178 invoked by uid 102); 30 Oct 2015 17:01:05 -0000 Received: from Unknown (HELO peff.net) (10.0.1.1) by cloud.peff.net (qpsmtpd/0.84) with SMTP; Fri, 30 Oct 2015 12:01:05 -0500 Received: (qmail 23457 invoked by uid 107); 30 Oct 2015 17:01:30 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) by peff.net (qpsmtpd/0.84) with SMTP; Fri, 30 Oct 2015 13:01:30 -0400 Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Fri, 30 Oct 2015 13:01:03 -0400 Date: Fri, 30 Oct 2015 13:01:03 -0400 From: Jeff King To: Andrei Borzenkov Subject: Re: Anonymous commit (empty Author and Committer) Message-ID: <20151030170102.GA32384@sigill.intra.peff.net> References: <56337DF8.5050802@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <56337DF8.5050802@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 50.56.180.127 X-Mailman-Approved-At: Fri, 30 Oct 2015 14:42:12 -0400 Cc: The development of GRUB 2 , git@vger.kernel.org, savannah-users@gnu.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 17:01:14 -0000 On Fri, Oct 30, 2015 at 05:26:00PM +0300, Andrei Borzenkov wrote: > See http://git.savannah.gnu.org/cgit/grub.git/commit/?id=206676601eb853fc319df14cd3398fbdfde665ac > > I was not even aware that this is possible. Is there anything on server side > that can prevent it? I would have thought that receive.fsckObjects would reject it, but seems that git-fsck does not complain about it at all, as it is otherwise syntactically valid (a space separating the zero-length name from the email, and <> surrounding the empty email). We do complain during "git commit" about an empty name. We don't seem to do so for blank emails, though. The only discussion I could find mentions that should probably disallow both[1]. I wonder how this commit was created in the first place (through git-commit, and we have an empty-name case that is not covered, or using a lower-level tool that bypasses the checks). -Peff [1] http://article.gmane.org/gmane.comp.version-control.git/261237