Skip to content

Commit 9c4b5cc

Browse files
committed
build: disable amending commits during pre-push hook
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: passed - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 2e43df0 commit 9c4b5cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/git/hooks/pre-push

+3-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ create_new_commit_file() {
161161

162162
# Amends the last commit to include the hook results.
163163
amend_commit() {
164-
git commit --amend --no-edit --no-verify --file="${new_commit_file}"
164+
# FIXME: temporarily disable due to push/pull issues that stdlib developers are facing.
165+
true;
166+
# git commit --amend --no-edit --no-verify --file="${new_commit_file}"
165167
}
166168

167169
# Checks if commits exist to push, as `git push` will execute regardless of whether commits exist to push or not.

0 commit comments

Comments
 (0)