Re: What's cooking in git.git (Jul 2019, #06; Thu, 25)
- From
Phil Hord <phil.hord@gmail.com>
- Date
- Aug 9, 2019, 18:05 UTC
- Message-ID
- <CABURp0pb4QY+Qbvn6YAtQ=bevSQW+vQXFMChyd_phtUK4P5M7w@mail.gmail.com>
- In-Reply-To
- <xmqq36iadygk.fsf@gitster-ct.c.googlers.com>
On Fri, Aug 9, 2019 at 10:48 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
> > Jeff King <peff@peff.net> writes: > > > I don't know of any plans for checkout in particular, but I think the > > docs for restore/switch make it clear that it's way too early to start > > scripting around them: > > > > $ git grep EXPERIMENTAL Documentation/ > > Documentation/git-restore.txt:THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE. > > Documentation/git-switch.txt:THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE. > > Would it ever be OK to script around checkout, restore and/or switch > Porcelain commands?
Users who wish to get their job done will script around porcelain all the time. I would be surprised if even 1% of build scripts use 'git checkout-index' instead of 'git checkout'.
No, this doesn't make it OK. ;)