aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMartin Hostettler <textshell@uchuujin.de>2019-11-27 17:02:57 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-11-28 13:01:33 +0200
commitbb03cf0dbc7158fd0684047272869abd565e4951 (patch)
tree7751a9b505d5e91fbbe26372b5b44fa719329fbb /data
parent9db446123900aa3e585fbbce5ed5698369897c05 (diff)
downloadmeson-bb03cf0dbc7158fd0684047272869abd565e4951.zip
meson-bb03cf0dbc7158fd0684047272869abd565e4951.tar.gz
meson-bb03cf0dbc7158fd0684047272869abd565e4951.tar.bz2
wrap: Resolver.get_git: Factor out --depth argument generation and make sure not to pass None as parameter
507cf47507cf47 broke the combination of clone-recursive without depth. Because it passed depth (as None) to git. To fix this the depth option is now generated once as a list when depth is set and else set to an empty list and unpacked into the argument this when needed. This reduces duplication and allows code to work the same for both cases.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions