Skip to content

Commit

Permalink
Add diagnostic prints to git status warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Dec 8, 2023
1 parent 387462f commit 1cc6da9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/util/print_gitignored_files_warning.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions ci/util/print_uncommitted_changes_warning.sh
Original file line number Diff line number Diff line change
@@ -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 "========================================================================="
Expand Down

0 comments on commit 1cc6da9

Please sign in to comment.