In most projects you would simply clone the source for the version being patched then download and apply the fix. For source code managed by Git I like to use the `hub apply-mail -3` command to download a patch from a Git repository and apply it.
I've never done this for Go but would be mildly surprised if there was something in the standard tooling to do that with a single command. It's possible someone has written such a tool but unless you're planning on testing third-party patches on a regular basis it's unlikely to be worthwhile to find and learn to such a tool. On Tue, Aug 6, 2024 at 2:25 PM Leah Stapleton <leahstapleton...@gmail.com> wrote: > Hello, > > > If I wanted to clone the google source code with a pending pull request > (such as https://go-review.googlesource.com/c/go/+/596035 ) how would I > do it? > > My goal is to test the pull request. > > apologies if I shouldn't have asked on this channel > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/a2d3434c-f9d4-4c1a-9ed2-3ec8adfda6cfn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/a2d3434c-f9d4-4c1a-9ed2-3ec8adfda6cfn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD-0Y2SZJu-JnGu%3DnOur3B6C-Tgvj%3D4krjhBgF-%3DV8VLMQ%40mail.gmail.com.