On Sun, Feb 15, 2009 at 01:18:18AM -0500, Jeff King wrote:
A possible 6/5 would be to do something similar for local repos (or
resurrecting the HEAD proposal).
Here is a quick and dirty series to unambiguously determine the HEAD for
local repos, but I am undecided on whether this is actually a good idea.
Note that this fails Jay's tests in t5505 which expect the ambiguity; to
be considered for inclusion, it would need to test "../two" as a remote
as well as "file://$(pwd)/../two", making sure each behaved correctly.
But I am posting it here to stimulate discussion on whether it is even
something we want.
1/2: transport: cleanup duplicated ref fetching code
2/2: transport: unambiguously determine local HEAD
-Peff