nd/ita-empty-commit update
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | diff-lib: allow ita entries treated as "not yet exist in index"diff-lib.c diff.h t/ +2 more | +38 | 0 replies | |
| 2/4 | diff: add --ita-[in]visible-in-indexDocumentation/ diff.c t/ | +15 | 0 replies | |
| 3/4 | commit: fix empty commit creation when there's no changes but ita entriesbuiltin/ diff-lib.c diff.h +2 more | +18 | 0 replies | |
| 4/4 | commit: don't be fooled by ita entries when creating initial commitbuiltin/ t/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] nd/ita-empty-commit update
This version splits the old 1/3 into two, with better description in 1/4. The index_differs_from() also takes a flag to set/clear this new flag instead of relying on has_ita_entries like the old 2/3.
The name ita-invisible-in-index is not perfect but I could not think of any better. Another name could be diff-cached-ignores-ita, but that's just half of what it does. The other half is diff-files-includes-ita...
Nguyễn Thái Ngọc Duy (4):
Subject: diff-lib: allow ita entries treated as "not yet exist in index"
diff: add --ita-[in]visible-in-index
commit: fix empty commit creation when there's no changes but ita entries
commit: don't be fooled by ita entries when creating initial commit
Documentation/diff-options.txt | 8 ++++++++ builtin/commit.c | 13 +++++++++---- diff-lib.c | 18 +++++++++++++++++- diff.c | 4 ++++ diff.h | 3 ++- sequencer.c | 4 ++-- t/t2203-add-intent.sh | 41 +++++++++++++++++++++++++++++++++++++++-- t/t7064-wtstatus-pv2.sh | 4 ++-- wt-status.c | 7 ++++++- 9 files changed, 89 insertions(+), 13 deletions(-)
Signature · 1 line
2.8.2.524.g6ff3d78