Re: [PATCH] Add git-unbundle - unpack objects and references for disconnected transfer
On Thu, 15 Feb 2007, Junio C Hamano wrote:
Show 5 quoted lines
>
> One way to check that would be to ask "describe --all" if it can
> find a ref that can reach that commit. It would error out if
> the commit object exists but is not reachable from any of the
> refs.
Actually, more efficient and to the point:
list-all-boundary-sha1s |
git-rev-list --stdin --not --all
should return empty. Or something like that.
Linus