commitRef

Strategy for choosing the commit used in source-browse links. When set, takes priority over commit:

  • CommitRef.HEAD — the checkout's current HEAD (default when both are null).

  • CommitRef.PARENT — the merge-base with the remote default branch (origin/master or origin/main), i.e. the last commit before the local analysis branch diverged. Use for repos where the local checkout is on a STIG analysis branch whose commits have not been pushed.