Ilari Liusvaara <ilari.liusvaara@xxxxxxxxxxx> writes: > + > +-u:: > +--set-upstream:: > + For every branch that is up to date or successfully pushed, add > + upstream (tracking) reference for argument-less git pull. Not just argument-less git pull. git status is also impacted for example. Actually, we already have documentation for it in git-branch (--track option), and git-config (branch.<name>.merge configuration variable), so you should add a pointer to one of them. How about --set-upstream:: For every branch that is up to date or successfully pushed, add upstream (tracking) reference, used by argument-less linkgit:git-pull[1] and other commands. For more information, see 'branch.<name>.merge' in linkgit:git-config[1]. ? > + OPT_BIT('u', "set-upstream", &flags, "Set upstream for git pull", TRANSPORT_PUSH_SET_UPSTREAM), I'd be in favor of --track for the option name. Not that it's the best name ever, but this is really doing the same job as branch --track and checkout --track, so it should have the same name. Or the --track option of branch and checkout should be renamed as --set-upstream, but that seems a lot of trouble for little benefit. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html