Skip to content

Commit cc77b99

Browse files
committed
Merge branch 'pt/pull-tags-error-diag'
There was a dead code that used to handle "git pull --tags" and show special-cased error message, which was made irrelevant when the semantics of the option changed back in Git 1.9 days. * pt/pull-tags-error-diag: pull: remove --tags error in no merge candidates case
2 parents fb257bf + 19d122b commit cc77b99

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

git-pull.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,6 @@ esac
190190

191191
error_on_no_merge_candidates () {
192192
exec >&2
193-
for opt
194-
do
195-
case "$opt" in
196-
-t|--t|--ta|--tag|--tags)
197-
echo "It doesn't make sense to pull all tags; you probably meant:"
198-
echo " git fetch --tags"
199-
exit 1
200-
esac
201-
done
202193

203194
if test true = "$rebase"
204195
then

0 commit comments

Comments
 (0)