Skip to content
Snippets Groups Projects
Commit 4fef5732 authored by Christophe Benz's avatar Christophe Benz
Browse files

Merge branch 'dont_check_git_when_datasets_option' into 'master'

Don't check for Git context when --datasets option is passed to the script

See merge request !2
parents bb68daab c15a856b
No related branches found
No related tags found
1 merge request!2Don't check for Git context when --datasets option is passed to the script
Pipeline #90019 passed with stage
in 21 minutes and 49 seconds
......@@ -107,7 +107,8 @@ def main():
table_of_contents_file_name = 'table_of_contents.xml'
old_toc_element = None
if not args.full:
if not (args.full or args.datasets):
# let's check that we can access to Git history (to compare table_of_contents.xml versions)
try:
repo = Repo(str(args.target_dir))
except NotGitRepository:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment