From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julia Lawall Subject: Re: git blame gives an ambiguous short revision Date: Sun, 1 Jul 2012 08:31:09 -0400 (EDT) Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sun Jul 01 14:31:35 2012 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 1SlJJN-00083r-Q7 for gcvg-git-2@plane.gmane.org; Sun, 01 Jul 2012 14:31:34 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751529Ab2GAMb2 (ORCPT ); Sun, 1 Jul 2012 08:31:28 -0400 Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:60365 "EHLO mail4-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750963Ab2GAMb2 (ORCPT ); Sun, 1 Jul 2012 08:31:28 -0400 X-IronPort-AV: E=Sophos;i="4.77,504,1336341600"; d="scan'208";a="149288049" Received: from unknown (HELO hadrien.local) ([96.47.147.200]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Jul 2012 14:31:25 +0200 X-X-Sender: jll@hadrien In-Reply-To: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Sorry, I forgot the git version number: git version 1.7.3.4 on Ubuntu. julia On Sun, 1 Jul 2012, Julia Lawall wrote: > Using linux-next cloned today (July 1), I then checkout out the > revision 60d5c9f5b. The command > > git blame drivers/staging/brcm80211/brcmfmac/wl_iw.c -L3675,3675 > > then gives: > > 60d5c9f5 (Julia Lawall 2011-04-01 16:23:42 +0200 3675) if (!iscan->iscan_ex_params_p) { > > Then I try: > > git show 60d5c9f5 > > which gives: > > error: short SHA1 60d5c9f5 is ambiguous. > error: short SHA1 60d5c9f5 is ambiguous. > fatal: ambiguous argument '60d5c9f5': unknown revision or path not in the > working tree. > Use '--' to separate paths from revisions > > If I give git blame the -l option, every thing is fine. > > thanks, > julia >