aboutsummaryrefslogtreecommitdiff
path: root/ssh-pull.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-16 01:36:32 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-16 13:01:41 -0800
commita71fb0a1412c82405f078fb536797d3f5de68d53 (patch)
tree521075aa28c42faa477a8ae7e3dda61954b0e077 /ssh-pull.c
parent61dde8f91672ab362f3cfd3af8d6d09d448d4ffe (diff)
downloadgit-a71fb0a1412c82405f078fb536797d3f5de68d53.tar.gz
git-a71fb0a1412c82405f078fb536797d3f5de68d53.tar.xz
git-pull: refuse default merge without branch.*.merge
Everybody hated the pull behaviour of merging the first branch listed on remotes/* file (or remote.*.fetch config) into the current branch. This finally corrects that UI wart by forbidding "git pull" without an explicit branch name on the command line or branch.$current.merge for the current branch. The matching change to git-clone was made to prepare the default branch.*.merge entry for the primary branch some time ago. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'ssh-pull.c')
0 files changed, 0 insertions, 0 deletions