Skip to content

Minor fsmonitor bugfixes, use with `git diff`

Alex Vandiver git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 8 repliesIn review
  2. v16 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Fix comments to agree with argument namedir.c+2 -20 replies
2/6fsmonitor: Stop inline'ing mark_fsmonitor_valid / _invalidfsmonitor.c fsmonitor.h+20 -152 replies
3/6fsmonitor: Update helper tool, now that flags are filled laterconfig.c t/helper/test-dump-fsmonitor.c+10 -31 reply
4/6fsmonitor: Make output of test-dump-fsmonitor more conciset/helper/test-dump-fsmonitor.c+11 -32 replies
5/6fsmonitor: Remove debugging lines from t/t7519-status-fsmonitor.sht/t7519-status-fsmonitor.sh+0 -20 replies
6/6fsmonitor: Use fsmonitor data in `git diff`builtin/add.c diff-lib.c diff.h+9 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] Minor fsmonitor bugfixes, use with `git diff`

Changes in this reroll:
- Instead of including dir.h from fsmonitor.h, stop inlining the functions that made that necessary.

- test-dump-fsmonitor sets a config variable soas to be able to access the fsmonitor state (after it has been un-split if using the split index) from the index without modifying it. I'm least sure of this change, but I'm short on ideas for a cleaner implementation.

- test-dump-fsmonitor now outputs a more concise output, with a trailing newline, instead of just patching over the lack of trailing newline on the old format.

Somehow patch 6/6 didn't get included in Junio's av/fsmonitor-updates. That's really the most useful patch of the series, and the original impetus for it, as it turns out. :)

Best,
- Alex