Re: [RFC] Make grafts versionable
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Nov 21, 2005, 21:04 UTC
- Message-ID
- <43823654.2060904@zytor.com>
- In-Reply-To
- <Pine.LNX.4.63.0511212152110.4611@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin wrote:
> ... by moving the location from .git/info/grafts to .gitgrafts. This > allows checking it in like .gitignore, and sure enough also pulling it (as > well as knowing who the heck added that particular graft anyway).
This is problematic, because it means something that isn't in GIT_DIR affects its interpretation. I would say that that is a showstopper.
One could even argue that it's incorrect, since it would mean different points on the history have different grafts.
Now, CVS has a reserved namespace (CVSROOT/) for things under version control which are still significant to CVS. The logical equivalent to git would be to have .git/ be such a namespace, if it makes sense.
-hpa