Skip to content

Commit 2f872cc

Browse files
committed
tmp
1 parent be8cfd7 commit 2f872cc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

buildbot/update_authors.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ def git_tree_is_clean():
3232

3333
# unshallow the repo if precommit.ci is running
3434
if is_precommit_ci:
35-
output = subprocess.check_output("git fetch --unshallow", shell=True).decode()
35+
output = subprocess.check_output("git fetch origin --unshallow", shell=True).decode()
3636
print("Unshallowing repo: ", output)
3737

38+
output = subprocess.check_output("git rev-parse --is-shallow-repository", shell=True).decode()
39+
print("Is shallow repository: ", output)
40+
3841
if is_precommit_ci or git_tree_clean or PRE_COMMIT == None:
3942
if PRE_COMMIT == None:
4043
print_buildbot_info("Authors check tool")

0 commit comments

Comments
 (0)