rev-list --objects: use full pathname to help hashing.