]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: drop "explicitly given" from push.default description
authorJeff King <peff@peff.net>
Wed, 29 Jan 2020 05:53:55 +0000 (00:53 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Jan 2020 18:00:51 +0000 (10:00 -0800)
The documentation for push.default mentions that it is used if no
refspec is "explicitly given". Let's drop the notion of "explicit" here,
since it's vague, and just mention that any refspec from anywhere is
sufficient to override this.

I've dropped the mention of "explicitly given" from the definition of
the "nothing" value right below, too. It's close enough to our
clarification that it should be obvious we mean the same type of "given"
here.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/push.txt

index 0a0e000569d8ad6f3da22ff400b7c358eec109d1..54871f8213c4292b7e11901831f09a4f18c018fb 100644 (file)
@@ -1,6 +1,7 @@
 push.default::
        Defines the action `git push` should take if no refspec is
-       explicitly given.  Different values are well-suited for
+       given (whether from the command-line, config, or elsewhere).
+       Different values are well-suited for
        specific workflows; for instance, in a purely central workflow
        (i.e. the fetch source is equal to the push destination),
        `upstream` is probably what you want.  Possible values are:
@@ -8,7 +9,7 @@ push.default::
 --
 
 * `nothing` - do not push anything (error out) unless a refspec is
-  explicitly given. This is primarily meant for people who want to
+  given. This is primarily meant for people who want to
   avoid mistakes by always being explicit.
 
 * `current` - push the current branch to update a branch with the same