From: Dave Olszewski Date: Mon, 16 Feb 2015 03:01:16 GMT Subject: Re: Re: [PATCH] push: allow --follow-tags' to be set by config push.followTags Message-ID: In-Reply-To: On Sun, 15 Feb 2015, Junio C Hamano wrote: > On Sun, Feb 15, 2015 at 3:39 PM, Dave Olszewski wrote: > > Signed-off-by: Dave Olszewski > > > > diff --git a/Documentation/config.txt b/Documentation/config.txt > > index ae6791d..cdb8a99 100644 > > --- a/Documentation/config.txt > > +++ b/Documentation/config.txt > > @@ -2079,6 +2079,9 @@ new default). > > > > -- > > > > +push.followTags:: > > + If set to true enable '--follow-tags' option by default. > > + > > After setting this in your repository, does "git push --no-follow-tags" let > you override it if you want to do so for a single invocation? > > If it does, the code is good but it should be documented here; if it > does not, it should be corrected and it should be documented here. > > Thanks. Thanks for the feedback. I was able to get this behavior by setting the config value into the flags variable before parsing command line options. Hopefully this is acceptable practice. Updated patch coming shortly