Skip to content

Commit

Permalink
update to use --refresh, not update index if modification time is unc…
Browse files Browse the repository at this point in the history
…hanged
  • Loading branch information
Matthew Lam committed Oct 18, 2023
1 parent c17d448 commit e5196b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_clean_branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ set -o pipefail

# Modifies the index based on the current index.
# Checks to see if merges or updates are needed by checking stat() information.
git update-index --really-refresh > /dev/null
git update-index --refresh > /dev/null
# Checks to see if there are any differences from the index to the current HEAD commit
git diff-index --quiet HEAD

0 comments on commit e5196b1

Please sign in to comment.