Hello, I am trying to handle creating a lightweight git tag. The user may have tag.gpgsign=true in their config, in which case git will open an editor waiting for a message to be added, so await git.tag(args); hangs. I have had a read through the docs and am not sure how I should handle this scenario. Is there a way that I can detect that git has opened the editor and is awaiting input so that I can request for a message to complete the tag operation and avoid the promise not resolving?
Hello, I am trying to handle creating a lightweight git tag. The user may have
tag.gpgsign=truein their config, in which case git will open an editor waiting for a message to be added, soawait git.tag(args);hangs. I have had a read through the docs and am not sure how I should handle this scenario. Is there a way that I can detect that git has opened the editor and is awaiting input so that I can request for a message to complete the tag operation and avoid the promise not resolving?