aboutsummaryrefslogtreecommitdiffstats
path: root/t/t5513-fetch-track.sh
blob: 65d1e05bd62af9c2b6dfa6cdd841d03622bf94ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

test_description='fetch follows remote-tracking branches correctly'

. ./test-lib.sh

test_expect_success setup '
	>file &&
	git add . &&
	test_tick &&
	git commit -m Initial &&
	git branch b-0 &&
	git branch b1 &&
	git branch b/one &&
	test_create_repo other &&
	(
		cd other &&
		git config remote.origin.url .. &&
		git config remote.origin.fetch "+refs/heads/b/*:refs/remotes/b/*"
	)
'

test_expect_success fetch '
	(
		cd other && git fetch origin &&
		test "$(git for-each-ref --format="%(refname)")" = refs/remotes/b/one
	)
'

test_done
'>2005-11-01cvsimport: introduce -P <cvsps-output-file> optionMartin Langhoff2-4/+12 2005-11-01cvsimport: catch error condition where cvs host disappearsMartin Langhoff1-0/+4 2005-11-01Do not install backward compatibility links anymore.Junio C Hamano2-5/+12 2005-11-01Strip any trailing slash on destination argumentJosef Weidendorfer1-0/+2 2005-11-01git-am.txt is no stub anymorePetr Baudis1-2/+0 2005-11-01Documentation for git-fmt-merge-msgPetr Baudis2-0/+49 2005-11-01Remove git-findtags.perlPetr Baudis2-95/+1 2005-11-01Remove 'Previously this command was known as ...' messages.Jon Loeliger1-44/+0 2005-11-01Fix constness of input in mozilla-sha1/sha1.c::SHA1_Update().Junio C Hamano2-3/+3 2005-11-01Document the use of "current directory" as pull source.Junio C Hamano2-1/+6 2005-10-30Add examples for git-log documentation and others.Linus Torvalds3-0/+45 2005-10-30Work around an RPM build problem.Junio C Hamano1-1/+1 2005-10-30Fix rev-list documentation again (--sparse and pathspec)Junio C Hamano1-4/+5 2005-10-30Update git-pack-objects documentation.Junio C Hamano1-1/+6 2005-10-30Update git-rev-list options list in rev-parse.Junio C Hamano1-0/+2 2005-10-30Update usage string and documentation for git-rev-list.Junio C Hamano2-17/+70 2005-10-30Add to usage and docs for git-add.shChris Shoemaker2-1/+15 2005-10-30Add to documentation of git-update-index arguments and usage.Chris Shoemaker2-8/+25 2005-10-30Add usage statement to git-checkout.shChris Shoemaker1-0/+7 2005-10-30GIT 0.99.9 master branch.Junio C Hamano1-1/+1 2005-10-29GIT 0.99.9v0.99.9Junio C Hamano2-1/+7 2005-10-29Documentation updates.Junio C Hamano3-7/+59 2005-10-29Do not mmap-copy the whole thing; just use copy_fd()Junio C Hamano1-18/+10 2005-10-29Teach local-fetch about lazy object directories.Junio C Hamano1-2/+3 2005-10-29Fix recent documentation format breakage.Junio C Hamano1-6/+6 2005-10-28make t5501 less annoyingJohannes Schindelin1-2/+2 2005-10-28fix multi_ack.Johannes Schindelin2-5/+10 2005-10-28git-fetch-pack: Support multi_ack extensionJohannes Schindelin2-17/+46 2005-10-28git-upload-pack: Support the multi_ack protocolJohannes Schindelin1-23/+24 2005-10-28Support receiving server capabilitiesJohannes Schindelin2-1/+16 2005-10-28git-upload-pack: More efficient usage of the has_sha1 arrayJohannes Schindelin1-5/+22