"diff --stat" counting fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | test: add failing tests for "diff --stat" to t4049t/ | +45 | 0 replies | |
| 2/5 | diff --stat: status of unmodified pair in diff-q is not zerodiff.c | +1 | 0 replies | |
| 3/5 | diff --stat: use "file" temporary variable to refer to data->files[i]diff.c | +13 | 0 replies | |
| 4/5 | diff --stat: move the "total count" logic to the last loopdiff.c t/ | +13 | 0 replies | |
| 5/5 | diff --stat: do not count "unmerged" entriesdiff.c t/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] "diff --stat" counting fixes
It turns out that there are at least two bugs in the diffstat counting code. This series comes on top of the earlier 74faaa1 (Fix "git diff --stat" for interesting - but empty - file changes, 2012-10-17) to fix them.
Junio C Hamano (5):
test: add failing tests for "diff --stat" to t4049
diff --stat: status of unmodified pair in diff-q is not zero diff --stat: use "file" temporary variable to refer to data->files[i] diff --stat: move the "total count" logic to the last loop diff --stat: do not count "unmerged" entries
diff.c | 49 +++++++++++++++++++++++++--------------------- t/t4049-diff-stat-count.sh | 46 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 72 insertions(+), 23 deletions(-)
Signature · 1 line
1.8.0.1.331.g808d2af