From 86f0b3727ced5db72ebbbd93f930671bfb9ab7be Mon Sep 17 00:00:00 2001 From: Duy Nguyen Date: Wed, 30 May 2018 17:37:01 +0200 Subject: remote.txt: update documentation for 'update' command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit b344e1614b (git remote update: Fallback to remote if group does not exist - 2009-04-06) lets "git remote update" accept individual remotes as well. Previously this command only accepted remote groups. The commit updates the command syntax but not the actual document of this subcommand. Update it. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index 577b969..2fcc026 100644 --- a/Documentation/git-remote.txt +++ b/Documentation/git-remote.txt @@ -182,8 +182,8 @@ actually prune them. 'update':: -Fetch updates for a named set of remotes in the repository as defined by -remotes.. If a named group is not specified on the command line, +Fetch updates for remotes or remote groups in the repository as defined by +remotes.. If no group or remote is not specified on the command line, the configuration parameter remotes.default will be used; if remotes.default is not defined, all remotes which do not have the configuration parameter remote..skipDefaultUpdate set to true will -- cgit v0.10.2-6-g49f6 From a97447a42a199c4f359608721c82e88cefb43a8e Mon Sep 17 00:00:00 2001 From: Duy Nguyen Date: Wed, 30 May 2018 17:37:01 +0200 Subject: remote: doc typofix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index 2fcc026..77e9f00 100644 --- a/Documentation/git-remote.txt +++ b/Documentation/git-remote.txt @@ -183,7 +183,7 @@ actually prune them. 'update':: Fetch updates for remotes or remote groups in the repository as defined by -remotes.. If no group or remote is not specified on the command line, +remotes.. If neither group nor remote is specified on the command line, the configuration parameter remotes.default will be used; if remotes.default is not defined, all remotes which do not have the configuration parameter remote..skipDefaultUpdate set to true will -- cgit v0.10.2-6-g49f6