Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: Re: [PATCH] push: allow --follow-tags' to be set by config push.followTags

From: Dave Olszewski <hidden>
Date: 2016-06-15 23:03:49

On Sun, 15 Feb 2015, Junio C Hamano wrote:
On Sun, Feb 15, 2015 at 3:39 PM, Dave Olszewski [off-list ref] wrote:
quoted
Signed-off-by: Dave Olszewski <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help