foriequal0/git-trim

Unhelpful error message when push.default = matching

Closed this issue · 4 comments

sixcy commented

Hello,

I get the following error message when running git trim:
thread '<unnamed>' panicked at 'not yet implemented: push.default=nothing|matching is not implemented.', src/remote_ref.rs:132:13

I guess it happens because my push.default is matching, but it would be better to have a nice message rather than a thread panic :)

Hi! Thanks for using git-trim!
However git-trim is still 0.x version software, which is not intended for general end-users.
I would be very happy if you understand that I want them to leave as is unless they are very cryptic and ambiguous and confusing to diagnosis the cause. I think the message itself is very clear to me and you.
Thanks.

However, I might be able to treat matching as simple.

sixcy commented

Fair enough ! Thanks for starting this project :)

Thanks #62 will be included in the next release.