pkg / diff

BSD 3-Clause "New" or "Revised" License
88 stars 9 forks source link

rename master branch to main #22

Closed josharian closed 3 years ago

josharian commented 4 years ago

need to check what impact this has on go modules

mvdan commented 3 years ago

FYI, this would have zero impact to builds and existing go.mod files, because those always pin to specific tags/commits, and never branches. The only thing that would break is humans doing go get github.com/pkg/diff@master to get the latest master version, sincce now that would have to be @main. That doesn't seem like a big problem to me though, as I see it part of the general trend to teach people to use "main" instead.

josharian commented 3 years ago

Done.