From 1cc6da992408357437623ee7dca54da9bcac1f35 Mon Sep 17 00:00:00 2001 From: Matthew Andres Moreno Date: Fri, 8 Dec 2023 11:26:13 -0500 Subject: [PATCH] Add diagnostic prints to git status warnings --- ci/util/print_gitignored_files_warning.sh | 3 +++ ci/util/print_uncommitted_changes_warning.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ci/util/print_gitignored_files_warning.sh b/ci/util/print_gitignored_files_warning.sh index 60bff93e12..b1f027a73d 100755 --- a/ci/util/print_gitignored_files_warning.sh +++ b/ci/util/print_gitignored_files_warning.sh @@ -1,6 +1,9 @@ #!/bin/bash set -e +git status --ignored +git diff + # adapted from https://stackoverflow.com/a/835561 # and https://stackoverflow.com/a/4327720 # and https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning diff --git a/ci/util/print_uncommitted_changes_warning.sh b/ci/util/print_uncommitted_changes_warning.sh index 5d5a7be3aa..52a952a7a9 100755 --- a/ci/util/print_uncommitted_changes_warning.sh +++ b/ci/util/print_uncommitted_changes_warning.sh @@ -1,6 +1,9 @@ #!/bin/bash set -e +git status --ignored +git diff + # adapted from https://stackoverflow.com/a/835561 # and https://stackoverflow.com/a/4327720 echo "========================================================================="