Skip to content

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

Nguyễn Thái Ngọc Duy git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 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 -200 replies
2/4commit: introduce a config key to allow as-is commit with i-t-a entriesDocumentation/config.txt builtin/commit.c cache-tree.c +2 more+68 -70 replies
3/4commit: turn commit.ignoreIntentToAdd to true by defaultDocumentation/config.txt builtin/commit.c t/t2203-add-intent.sh+22 -120 replies
4/4commit: remove commit.ignoreIntentToAdd, assume it's always trueDocumentation/config.txt builtin/commit.c t/t2203-add-intent.sh+3 -490 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/4] Deprecate "not allow as-is commit with i-t-a entries"

- git-add.txt changes are removed. In the end all kinds of commit behave the same way, not worth putting more explanation during the transition.

- reword config text and warning text (or more precisely copy/paste from Junio/Jonathan's words)

- Hard coded release numbers are removed. Now it's simply "in future".

- Step 2 may be too annoying. Users are warned on every commit if commit.ignoreIntentToAdd is set. I think it's good because it keeps config file clean, but people may think otherwise.

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

 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 +-
 6 files changed, 49 insertions(+), 25 deletions(-)
Signature · 1 line
1.7.8.36.g69ee2