Yet the grafts file is exactly the place where this type of
"overlay-information" is being placed now. It seems to be the natural place.
Not quite sure why this makes it easier. The point is that there
is not supposed to be a grafts file in a proper repository. Thus,
having a lot of these files means a larger disruption to the core, and
I'd like the core to be as efficient and lean as possible given an empty
grafts file. So I'd prefer to keep it to one file.
I'd want to avoid a plethora of files, and the changes that can be
specified are supposed to be partial overrides, not complete rewrites.
So using pretend_sha1_file() is a bit overkill and more than I was
aiming for.
The point is, that the changes in grafts (as they are now) are *not*
used when cloning. I.e. the only thing you mess up is your *own*
repository, not someone else's. I.e. you can't make someone remote
think that the repository has been altered. That would require git
filter-branch, which immediately changes all the historical SHA1s, and
makes the changes in history blatantly visible.
--
Sincerely,
Stephen R. van den Berg.
You are confused; but this is your normal state.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html