From: Ed Avis Subject: Re: git log --raw abbreviates SHA1s, despite what manual says Date: Fri, 15 May 2015 15:22:47 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Fri May 15 17:23:03 2015 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 1YtHS0-0001n9-R1 for gcvg-git-2@plane.gmane.org; Fri, 15 May 2015 17:23:01 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934560AbbEOPW4 (ORCPT ); Fri, 15 May 2015 11:22:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:38852 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934155AbbEOPWz (ORCPT ); Fri, 15 May 2015 11:22:55 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YtHRt-0001i3-4Q for git@vger.kernel.org; Fri, 15 May 2015 17:22:53 +0200 Received: from 80.169.169.174 ([80.169.169.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 May 2015 17:22:53 +0200 Received: from eda by 80.169.169.174 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 May 2015 17:22:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 80.169.169.174 (Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:38.0) Gecko/20100101 Firefox/38.0 Cyberfox/38.0) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Thanks for the explanation. Plain 'git log' does not print any diffs. Does that mean that the --raw flag is a no-op in that case? Perhaps running 'git log --raw' should print a warning --raw given for raw-format diffs, but the output format you have chosen does not include diffs. Did you mean 'git log --format=raw'? You might even rename the option to --raw-diff-format, with the older one still accepted for backwards compatibility. -- Ed Avis