nsmcp::CodeUpstreamTool method commit (protected)
<instance of nsmcp::CodeUpstreamTool> commit repo ref
Defined in /usr/local/ns/tcl/nsmcp/code-upstream.tcl
- Parameters:
- repo (required)
- ref (required)
- Testcases:
- No testcase defined.
Source code: set ref [ns_urlencode $ref] set sha [string trim [:get /repos/$repo/commits/$ref application/vnd.github.sha]] if {![regexp {^[a-f0-9]{40}$} $sha]} {error "invalid-github-commit"} return $shaXQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)