Merge pull request #6776 from dokku/6770-long-git-sha
Use a long git sha in the git:report output
This commit is contained in:
1 file changed
+1
-1
@@ -295,7 +295,7 @@ cmd-git-report-single() {
|
|||||||
"--git-global-deploy-branch: $(fn-plugin-property-get "git" "--global" "deploy-branch" "master")"
|
"--git-global-deploy-branch: $(fn-plugin-property-get "git" "--global" "deploy-branch" "master")"
|
||||||
"--git-keep-git-dir: $(fn-plugin-property-get "git" "$APP" "keep-git-dir" "false")"
|
"--git-keep-git-dir: $(fn-plugin-property-get "git" "$APP" "keep-git-dir" "false")"
|
||||||
"--git-rev-env-var: $(fn-plugin-property-get "git" "$APP" "rev-env-var" "GIT_REV")"
|
"--git-rev-env-var: $(fn-plugin-property-get "git" "$APP" "rev-env-var" "GIT_REV")"
|
||||||
"--git-sha: $(fn-git-cmd "$APP_ROOT" rev-parse --short HEAD 2>/dev/null || false)"
|
"--git-sha: $(fn-git-cmd "$APP_ROOT" rev-parse HEAD 2>/dev/null || false)"
|
||||||
"--git-source-image: $(fn-git-source-image "$APP")"
|
"--git-source-image: $(fn-git-source-image "$APP")"
|
||||||
"--git-last-updated-at: $(fn-git-last-updated-at "$APP")"
|
"--git-last-updated-at: $(fn-git-last-updated-at "$APP")"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user