Re: [PATCH 3/3] refs: use strings directly in find_containing_dir()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 22, 2012, 22:18 UTC
- Message-ID
- <7vhav73lnl.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4FBC0F12.2000001@lsrfire.ath.cx>
René Scharfe <rene.scharfe@lsrfire.ath.cx> 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?