summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorBenjamin Gilbert <bgilbert@backtick.net>2024-04-27 03:06:41 -0500
committerEli Schwartz <eschwartz93@gmail.com>2024-04-27 21:58:41 -0400
commitc9aa4aff66ebbbcd3eed3da8fbc3af0e0a8b90a2 (patch)
tree522b9693222249919ab945265556a1a02e0b7d91 /ci
parent2004b7c24dbc4a3ff3d333df9456e1e1223e9c8b (diff)
downloadmeson-c9aa4aff66ebbbcd3eed3da8fbc3af0e0a8b90a2.tar.gz
mdist: gracefully handle stale Git index
Running `touch` on a tracked file in Git, to update its timestamp, and then running `meson dist` would cause dist to fail: ERROR: Repository has uncommitted changes that will not be included in the dist tarball Use --allow-dirty to ignore the warning and proceed anyway Unlike `git status` and `git diff`, `git diff-index` doesn't refresh the index before comparing, so stat changes are assumed to imply content changes. Run `git update-index -q --refresh` first to refresh the index. Fixes: #12985
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions