From: Stefan Sperling Subject: Re: got: gotadmin init -b to specify HEAD + new got import behaviour To: Mark Jamsek Cc: Game of Trees Date: Tue, 20 Sep 2022 14:06:55 +0200 On Tue, Sep 20, 2022 at 09:01:48PM +1000, Mark Jamsek wrote: > On 22-09-19 07:34PM, Stefan Sperling wrote: > > The above situation was created in a non-bare repository with the > > command: git checkout a6595b659681118f302825765ca19ec034bd4d49 > > > > Ah, that was silly of me! We even talked about this case, IIRC, and > I completely forgot to check for it. Thanks, Stefan. Revised diff below > includes a new regress for the detached HEAD case too. No worries ;-) Please also add 'init' to REGRESS_TARGETS in regress/cmdline/Makefile. Otherwise the default 'make regress' target will skip it. With that, ok stsp@