git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
78ba5c290a724bcf500741744b1ca4a3ca2747da blob 502 bytes (raw)

 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
31
32
33
34
35
36
37
 
#!/bin/sh
#
# Copyright (c) 2008 Dmitry V. Levin
#

test_description='fetch exit status test'

. ./test-lib.sh

test_expect_success setup '

	>file &&
	git add file &&
	git commit -m initial &&

	git checkout -b side &&
	echo side >file &&
	git commit -a -m side &&

	git checkout main &&
	echo next >file &&
	git commit -a -m next
'

test_expect_success 'non-fast-forward fetch' '

	test_must_fail git fetch . main:side

'

test_expect_success 'forced update' '

	git fetch . +main:side

'

test_done
debug log:

solving 78ba5c290a ...
found 78ba5c290a in https://public-inbox.org/git/727de6fdf5f2eb0765d26c18a7960c5770a51a1d.1605221039.git.gitgitgadget@gmail.com/ ||
	https://public-inbox.org/git/b7333ef2012b2bdfc03054c8ad2cc7222cb6aaae.1605629548.git.gitgitgadget@gmail.com/
found c2060bb870 in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100755 c2060bb870f35a3819fabb19c97e921e0ae43349	t/t5518-fetch-exit-status.sh

applying [1/2] https://public-inbox.org/git/727de6fdf5f2eb0765d26c18a7960c5770a51a1d.1605221039.git.gitgitgadget@gmail.com/
diff --git a/t/t5518-fetch-exit-status.sh b/t/t5518-fetch-exit-status.sh
index c2060bb870..78ba5c290a 100755

Checking patch t/t5518-fetch-exit-status.sh...
Applied patch t/t5518-fetch-exit-status.sh cleanly.

skipping https://public-inbox.org/git/b7333ef2012b2bdfc03054c8ad2cc7222cb6aaae.1605629548.git.gitgitgadget@gmail.com/ for 78ba5c290a
index at:
100755 78ba5c290a724bcf500741744b1ca4a3ca2747da	t/t5518-fetch-exit-status.sh

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).