summaryrefslogtreecommitdiff
path: root/builtin/receive-pack.c
diff options
context:
space:
mode:
authorPaul Tan <pyokagan@gmail.com>2015-05-13 10:06:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-05-14 16:52:51 (GMT)
commit19d122bf1b119a759267076fead332fb857af87e (patch)
tree5ef32d5a6a6b1cf1447120e3c5c04b093c09953e /builtin/receive-pack.c
parent3d4a3ffe64162b45ae7c991fc60623ecb4678cfd (diff)
downloadgit-19d122bf1b119a759267076fead332fb857af87e.zip
git-19d122bf1b119a759267076fead332fb857af87e.tar.gz
git-19d122bf1b119a759267076fead332fb857af87e.tar.bz2
pull: remove --tags error in no merge candidates case
Since 441ed41 ("git pull --tags": error out with a better message., 2007-12-28), git pull --tags would print a different error message if git-fetch did not return any merge candidates: It doesn't make sense to pull all tags; you probably meant: git fetch --tags This is because at that time, git-fetch --tags would override any configured refspecs, and thus there would be no merge candidates. The error message was thus introduced to prevent confusion. However, since c5a84e9 (fetch --tags: fetch tags *in addition to* other stuff, 2013-10-30), git fetch --tags would fetch tags in addition to any configured refspecs. Hence, if any no merge candidates situation occurs, it is not because --tags was set. As such, this special error message is now irrelevant. To prevent confusion, remove this error message. Signed-off-by: Paul Tan <pyokagan@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/receive-pack.c')
0 files changed, 0 insertions, 0 deletions