On 7/13/21 4:55 AM, Carlo Tambuatco wrote:
Newbie question: what command do I use to apply the patch…?
I can tell you what worked for me. I think you probably need to have
cloned org using git for it to work, but I am far from being a git wiz
so there could be a workaround I don't know about in the case that you
have it installed by a more conventional method.
First, I saved the patch file to the same directory where I have org
cloned (for me, that is ~/.emacs.d/straight/repos/org). Then I opened a
terminal and ran:
git apply --check 0001-Fix-duplicate-logbook-entry-for-repeated-tasks.patch
to do a dry run and make sure I had saved the patch file in the right
place that "git apply" would run correctly. It returned nothing, which
is good, so then I ran:
git apply --check 0001-Fix-duplicate-logbook-entry-for-repeated-tasks.patch
to apply the patch. Since I'm using straight.el as my package manager, I
then opened Emacs and ran "M-x straight-rebuild-all".
Also, thanks to Ihor and Bhavin for your work on this. Prior to applying
the patch, I was noticing new bizarre behavior relating to recurring
tasks. I haven't been running the patched org very long yet, but so far,
so good.
Finally, as a newbie here myself, I have a naïve question of my own:
Provided the patch proves successful, how/when is it applied to the
official org repo? Is it up to Ihor (or somebody else) to make a pull
request, for example?
Best regards,
Alan