author | Matthieu Moy <Matthieu.Moy@imag.fr> | |
Mon, 26 Jul 2010 16:32:09 +0000 (18:32 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 27 Jul 2010 16:12:23 +0000 (09:12 -0700) | ||
commit | d3b9dd136ea5735c88a831b5a0f6f2e5dd623701 | |
tree | 23b9472224051d52f29713c467584247ace44d11 | tree | snapshot |
parent | e8b4ac37d8ec149582527c09369720a6526984af | commit | diff |
Clarify help message when no remote is specified in fetch/pull.
The message is especially confusing when "git fetch" is ran from "git
pull", for users not aware of "git fetch". The new message makes it clear
that "fetch" means "fetch new revisions", and gives hint on the solution.
We don't add a advice.* configuration option since this message doesn't
appear in normal use, and shouldn't disturb advanced users.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The message is especially confusing when "git fetch" is ran from "git
pull", for users not aware of "git fetch". The new message makes it clear
that "fetch" means "fetch new revisions", and gives hint on the solution.
We don't add a advice.* configuration option since this message doesn't
appear in normal use, and shouldn't disturb advanced users.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c | diff | blob | history |