Re: File versioning based on shallow Git repositories?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 13, 2018, 11:12 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1804131157360.65@ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz>
- In-Reply-To
- <86efjjmqsi.fsf@gmail.com>
Hi Kuba,
On Fri, 13 Apr 2018, Jakub Narebski wrote:
Show 8 quoted lines
> Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no> writes: > > > Also maybe it'll be worthwhile to generate .git/info/grafts in a local > > clone of the repo to get back easily visible history. No grafts in > > the original repo, grafts mess things up. > > Just a reminder: modern Git has "git replace", a modern and safe > alternative to the grafts file.
Right!
Maybe it is time to start deprecating grafts? They *do* cause problems, such as weird "missing objects" problems when trying to fetch into, or push from, a repository with grafts. These problems are not shared by the `git replace` method.
I just sent out a patch to add a deprecation warning.
Ciao, Dscho