Skip to content

Deprecate "not allow as-is commit with i-t-a entries"

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cache-tree: update API to take abitrary flagsbuiltin/commit.c cache-tree.c cache-tree.h +2 more+19 -201 reply
2/4commit: introduce a config key to allow as-is commit with i-t-a entriesDocumentation/config.txt Documentation/git-add.txt builtin/commit.c +3 more+71 -911 replies
3/4commit: turn commit.ignoreIntentToAdd to true by defaultDocumentation/config.txt builtin/commit.c t/t2203-add-intent.sh+12 -102 replies
4/4commit: remove commit.ignoreIntentToAdd, assume it's always trueDocumentation/config.txt builtin/commit.c t/t2203-add-intent.sh+2 -331 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] Deprecate "not allow as-is commit with i-t-a entries"

By the end of this series "git commit -m foo" will proceed regardless intent-to-add (aka "git add -N") entries. commit.ignoreIntentToAdd is used as transitiono config key.

The plan is in 2/4. I set 1.8.0 as the first deprecation date, but of course it's just a suggestion. The second deprecation date might be 1.8.5, long enough for users to adapt to the new behavior.

..or we switch back half way because we find current behavior does make more sense.

Nguyễn Thái Ngọc Duy (4):
cache-tree: update API to take abitrary flags
commit: introduce a config key to allow as-is commit with i-t-a
entries
commit: turn commit.ignoreIntentToAdd to true by default
commit: remove commit.ignoreIntentToAdd, assume it's always true

 Documentation/git-add.txt |   12 ++++++++++--
 builtin/commit.c          |    9 ++++++---
 cache-tree.c              |   35 +++++++++++++++++------------------
 cache-tree.h              |    5 ++++-
 merge-recursive.c         |    2 +-
 t/t2203-add-intent.sh     |   21 ++++++++++++++++++++-
 test-dump-cache-tree.c    |    2 +-
 7 files changed, 59 insertions(+), 27 deletions(-)
Signature · 1 line
1.7.8.36.g69ee2