Closed baallan closed 1 week ago
fixes #1443
@baallan, @nichamon this 'feature' has been removed from top of tree. Should we consider getting rid of this in 4.4? I know it's convenient to crush the log file at start up, but it can trivially be achieved in other ways with the new 'rm' command ;-)
@tom95858 If it is gone from main, I'm fine with making it a no-op+warning in 4.4. Just deleting it could break working scripts. But in theory this should be a community decision?
A patch to do that might also add deprecation warnings in 4.4 about all other options that are going away/gone in main.
@tom95858 revised this pr to deprecate -t.
@baallan Thanks for making the revisions. Given that your latest commit removes the -t
option completely, would you consider dropping the first commit dcc50b5?
@nichamon if we could just check the squash box on the pr, that should take care of it. I don't have any pull/merge controls on the github repo, however.
@nichamon found the branch and squashed it.
truncating the log now works correctly whether the old log exists or not and independent of the ordering of -l and -t commands.