On Jan 14 2020, Jakub Jelinek wrote: > On Tue, Jan 14, 2020 at 12:34:13PM +0100, Andreas Schwab wrote: >> On Jan 14 2020, Georg-Johann Lay wrote: >> >> > git clone --reference original-gcc ... >> >> Don't use --reference. It is too easy to lose work if you don't know >> what you are doing. > > Wouldn't git clone --reference original-gcc --dissociate ... > be ok? I.e. just save bandwidth when needing second repo if for whatever > reason git worktree isn't possible?
Yes, this is safe, since the new clone will be independent and standalone. It will contain a duplicate of the object database, though. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."