On Tue, Feb 11, 2025 at 6:33 AM Ivan Shapovalov <intelfx@xxxxxxxxxxxx> wrote: > > On 2025-02-10 at 15:22 -0500, D. Ben Knoble wrote: > > > > Based on `git grep -e '--.*\[=' Documentation/git-*.txt`, I think this > > should be more like > > > > --update-refs[=interactive]:: > > --no-update-refs:: > > > > But maybe that unintentionally suggests that `=interactive` is the default? > > Perhaps --update-refs[=(yes|no|interactive)] then? Or is that too > verbose? Anyway, I don't have a preference, I'll just do what I'm told > here. I don't have a strong opinion, and I think this is being discussed elsewhere in this thread. > > Should we add a test for this? > > > > Any suggestions what exactly I should test here? I don't have much > experience testing interactive CLI tools, so I'd appreciate some hints. > > -- > Ivan Shapovalov / intelfx / Give t/README a glance; t3404 is probably a good place to start given "git grep update-refs t." -- D. Ben Knoble