[PATCH 0/3] fetch: fix '.' fetching
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- May 16, 2013, 07:31 UTC
- Message-ID
- <1368689474-28911-1-git-send-email-felipe.contreras@gmail.com>
Hi,
It's quite annoying that 'git fetch' tries to fetch '.' when the upstream branch is a local one. This patch series fixes that, and while on it, it also fixes 'git push'.
Felipe Contreras (3): fetch: add --allow-local option fetch: switch allow-local off by default remote: disable allow-local for pushes
builtin/fetch.c | 6 +++++- git-pull.sh | 2 +- remote.c | 17 ++++++++++++++--- remote.h | 1 + t/t5513-fetch-track.sh | 14 ++++++++++++++ t/t5528-push-default.sh | 7 +++++++ 6 files changed, 42 insertions(+), 5 deletions(-)
-- 1.8.3.rc1.579.g184e698