Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c78b1e81 authored by Hall Liu's avatar Hall Liu
Browse files

Stop enforcing the AOSP preupload hook

Exit with code 0 to make it warn-only

Test: run the script
Change-Id: I71e339170af578e98489a0d4396894f0ed0d0865
parent 3b3c5c59
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ def main():
      _check_aosp_message(commit_line)

  print(ERROR_MESSAGE)
  sys.exit(1)
  sys.exit(0)

def _is_in_aosp():
  branch_info = subprocess.check_output(["git", "branch", "-vv"])
@@ -59,7 +59,7 @@ def _check_aosp_message(aosp_line):
    sys.exit(0)

  print(ERROR_MESSAGE)
  sys.exit(1)
  sys.exit(0)

if __name__ == '__main__':
  main()