commit -a -m: allow the top-level tree to become empty again
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | do_read_index(): always mark index as initialized unless erroring outread-cache.c | +1 | 0 replies | |
| 2/3 | split-index: accept that a base index can be emptyread-cache.c | +8 | 1 reply | |
| 3/3 | commit -a -m: allow the top-level tree to become empty againbuiltin/ t/ | +13 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] commit -a -m: allow the top-level tree to become empty again
This patch series is in response to the bug report in
https://github.com/git-for-windows/git/issues/4462 that demonstrates that git commit -a -m <msg> would no longer always stage all updates to tracked files. The bug has been introduced in Git v2.40.0.
Johannes Schindelin (3):
do_read_index(): always mark index as initialized unless erroring out
split-index: accept that a base index can be empty
commit -a -m: allow the top-level tree to become empty again
builtin/commit.c | 7 ++----- read-cache.c | 15 +++++++++------ t/t2200-add-update.sh | 11 +++++++++++ 3 files changed, 22 insertions(+), 11 deletions(-)
base-commit: a9e066fa63149291a55f383cfa113d8bdbdaa6b3
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1554%2Fdscho%2Ffix-git-commit-a-m-when-tree-becomes-empty-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1554/dscho/fix-git-commit-a-m-when-tree-becomes-empty-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1554
Signature · 1 line
gitgitgadget