Skip to content

git-add/git-rm updates

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5match_pathspec() -- return how well the spec matcheddir.c dir.h+39 -160 replies
1/5Fix timestamp for test-tickt/test-lib.sh+3 -30 replies
1/5t1000: fix case table.t/t1000-read-tree-m-3way.sh+1 -11 reply
2/5git-rm: update to saner semanticsbuiltin-rm.c+103 -201 reply
2/5builtin-prune: make file-scope static struct to an argument.builtin-prune.c+18 -150 replies
2/5Treat D/F conflict entry more carefully in unpack-trees.c::threeway_merge()unpack-trees.c+3 -33 replies
3/5t3600: update the test for updated git rmt/t3600-rm.sh+74 -40 replies
3/5builtin-prune: separate ref walking from reflog walking.builtin-prune.c+9 -20 replies
3/5merge-recursive: do not barf on "to be removed" entries.merge-recursive.c+11 -50 replies
4/5blame.c: move code to output metainfo into a separate function.blame.c+45 -310 replies
4/5read_directory: show_both option.dir.c dir.h+16 -90 replies
4/5Move traversal of reachable objects into a separate library.Makefile builtin-prune.c reachable.c +1 more+22 -3030 replies
4/5merge-recursive: handle D/F conflict case more carefully.merge-recursive.c+26 -34 replies
5/5git-add: add ignored files when asked explicitly.Documentation/git-add.txt builtin-add.c+18 -410 replies
5/5reflog expire --fix-stalebuiltin-reflog.c t/t1410-reflog.sh+308 -210 replies
5/5t3030: merge-recursive backend test.t/t3030-merge-recursive.sh+528 -01 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/5] merge-recursive D/F conflict improvements

This series is on top of my "read-tree-df" topic, which is in 'next'.

The part that are already in 'next' deal with switching branches when the current branch has a file (or symlink) where the switched-to branch has a directory (or vice versa), and is about fixing "git-read-tree -m -u A B" 2-way merges.

This series deals with both "git-read-tree -m u O A B" 3-way merges, and "git-merge-recursive". It comes with tests, but because these two programs are really central part of everyday branch growing (the other important part is the revision walking machinery which is obviously the central part of archaeology), I would really need help from people who have worked in this area for extra sets of eyeballs.

[PATCH 1/5]
t1000: fix case table.

This one is immaterial; while working on 2/5, I wondered why threeway_merge() did not handle case #10, and tried to fix it by adding a case. Obviously it broke existing tests and I recalled that contrary to the case table presented there, we decided that "stays in one side while the other side removes" case could be a sign of the path being renamed away and let the caller deal with it. So this patch fixes the case table to match the design and the code.

[PATCH 2/5]
Treat D/F conflict entry more carefully in unpack-trees.c::threeway_merge()

[PATCH 3/5]
merge-recursive: do not barf on "to be removed" entries.

[PATCH 4/5]
merge-recursive: handle D/F conflict case more carefully.

[PATCH 5/5]
t3030: merge-recursive backend test.