x/review/git-codereview: make 'git codereview mail' run 'git push' using --no-follow-tags #41801
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
I have the
push.followTags = true
option set in my global gitconfig because it's convenient for my typical git workflows on non-Go projects. But it breaksgit codereview mail
:Of course, I can set
push.followTags = false
for all my Go repos on all the machines I use, but it's hard to remember to do that.git-codereview
could warn if the option isn't set. But better yet, it could just supply the flag--no-follow-tags
to thegit push
command.(I didn't check how long the
--no-follow-tags
flag has existed and whether we need to care about git versions older than that.)The text was updated successfully, but these errors were encountered: