Hacker News new | ask | show | jobs
by kbeckmann 2632 days ago
In the e-mail reply that you get when following the guide you get something to copy paste that looks like this:

    git send-email -v2 ... 
I tried to find documentation regarding the -v[0-9]+ parameter but couldn't find it at all. What am I missing in the docs? Seems a lot of guides recommend people to use this feature, however there is not a word regarding it in the git docs. It seems that it takes a positive integer as a parameter and adds it to the [PATCH v1] prefix in the subject.
1 comments

This is a parameter that gets passed to git format-patch. Any parameters git send-email doesn't directly recognize are passed along to format-patch.
Aha! Makes sense. The docs are usually great for git, but it wasn't clear to me that the args were passed on to git format-patch, where the -v parameter indeed is properly documented.