On Sat, May 08, 2021 at 09:51:06AM +0200, Stefan Sperling wrote: > > > > Do you think above could be committed to HEAD? > > Yes, I will commit it. >
Cool, thanks! > > Wrong place, wong time.. but could `got rebase` return dedicated > > exit code for below situation? > > > > $ got rebase main > > got: refs/heads/main is already based on refs/heads/key-unset-printf-trigger > > > > At present it's exit code 1, but if that would be lets say 2, I could > > improve my automation script to rebase stack of my diffs and rebuild > > my custom kernel in more efficient manner. Probably without human > > intervention. > > How about returning exit code 0 in this case? There's nothing to be done > so the command could "trivially" succeed. That's even better! -- Regards, Mikolaj