From: Junio C Hamano Date: Tue, 22 May 2012 22:18:06 GMT Subject: Re: [PATCH 3/3] refs: use strings directly in find_containing_dir() Message-ID: <7vhav73lnl.fsf@alter.siamese.dyndns.org> In-Reply-To: <4FBC0F12.2000001@lsrfire.ath.cx> René Scharfe writes: > What has git grep to do with refs? It checks if the path in the command > above is a ref, which makes it iterate over all of them.. Do you mean: /* Is it a rev? */ get_sha1() -> ... -> get_sha1_basic() -> dwim_ref() callpath?