Skip to content

Commit aeb4bd1

Browse files
committed
tmp
1 parent c090020 commit aeb4bd1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

buildbot/update_authors.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ def git_tree_is_clean():
3030

3131
is_precommit_ci = PRE_COMMIT_HOME == "/pc"
3232

33+
# unshallow the repo if precommit.ci is running
34+
if is_precommit_ci:
35+
subprocess.run(["git", "fetch", "--unshallow"])
36+
3337
if is_precommit_ci or git_tree_clean or PRE_COMMIT == None:
3438
if PRE_COMMIT == None:
3539
print_buildbot_info("Authors check tool")
@@ -204,7 +208,7 @@ def autocorect(source, filename, path):
204208
do_replace = not (new_src == source)
205209

206210
if do_replace:
207-
print("autocorect : ", filename)
211+
print("autocorect :", filename, "current authors :", current_authors)
208212
print_diff(source, new_src, filename, filename + " (corec)")
209213

210214
return do_replace, new_src

0 commit comments

Comments
 (0)