diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2018-04-19 22:51:28 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-19 23:10:24 +0200 |
commit | e2b71e852dc4200ce48715a9e9b5ed44379bfec8 (patch) | |
tree | ffb12ef620c62b5751def873d070f367542b6f58 /support/testing/tests/package/test_syslog_ng.py | |
parent | 928c9289d25c47167c7e895f1a5f487067539b2c (diff) | |
download | buildroot-e2b71e852dc4200ce48715a9e9b5ed44379bfec8.tar.gz buildroot-e2b71e852dc4200ce48715a9e9b5ed44379bfec8.zip |
download/git: be sure we do fetch something
The different versions of git will behave in different ways when
fetching remote references, as summarised by the table below:
| ancient git | new git
--------------------------------------------------------------------
git fetch | fetch all refs but tags | fetches all refs but tags
git fetch -t | fetches only tags | fetch all refs and tags
(git-fetch may still fetch tags, but only if reachable from a branch)
So, to cover all the bases, we do a simple fetch, to be sure we have
branches, followed by the existing fetch -t, to get extra tags.
Fixes:
http://autobuild.buildroot.net/results/0a2/0a238a7f55ea56c33b639ad03ed5796143426889/build-end.log
Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'support/testing/tests/package/test_syslog_ng.py')
0 files changed, 0 insertions, 0 deletions