Presubmit.ShallowCloneError exception (presubmit v0.2.2)

Copy Markdown View Source

Raised when the parent of the revision under test is not present locally.

CI checkouts default to a depth-1 clone, which contains HEAD but not HEAD~1, so no diff can be computed.

Summary

Types

t()

@type t() :: %Presubmit.ShallowCloneError{
  __exception__: term(),
  parent: String.t() | nil,
  sha: String.t()
}