Undoing conflict resolution
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | builtin-merge.c: use standard active_cache macrosbuiltin-merge.c | +2 | 0 replies | |
| 2/9 | resolve-undo: record resolved conflicts in a new index extension sectionMakefile builtin-checkout.c builtin-merge.c +5 more | +160 | 0 replies | |
| 3/9 | resolve-undo: basic testsbuiltin-ls-files.c t/ | +130 | 0 replies | |
| 4/9 | resolve-undo: allow plumbing to clear the informationbuiltin-update-index.c t/ | +17 | 0 replies | |
| 5/9 | resolve-undo: "checkout -m path" uses resolve-undo informationbuiltin-checkout.c cache.h resolve-undo.c +2 more | +77 | 0 replies | |
| 6/9 | resolve-undo: teach "update-index --unresolve" to use resolve-undo infobuiltin-update-index.c cache.h t/ | +20 | 0 replies | |
| 7/9 | rerere: remove silly 1024-byte line limitrerere.c | +10 | 0 replies | |
| 8/9 | rerere: refactor rerere logic to make it independent from I/Orerere.c | +82 | 0 replies | |
| 9/9 | rerere forget path: forget recorded resolutionbuiltin-rerere.c rerere.c rerere.h +1 more | +152 | 11 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] Undoing conflict resolution
This series resurrects the topic we discussed later November.
I wrote a bit about this in http://gitster.livejournal.com/43665.html but as usual with my patches, they do come with minimum set of tests but it contains no documentation updates. The user visible changes are:
- ls-files has a new option primarily for debugging;
- update-index has a new option --clear-resolve-undo;
- rerere has a new subcommand forget.
Junio C Hamano (9):
builtin-merge.c: use standard active_cache macros
resolve-undo: record resolved conflicts in a new index extension
section
resolve-undo: basic tests
resolve-undo: allow plumbing to clear the information
resolve-undo: "checkout -m path" uses resolve-undo information
resolve-undo: teach "update-index --unresolve" to use resolve-undo
info
rerere: remove silly 1024-byte line limit
rerere: refactor rerere logic to make it independent from I/O rerere forget path: forget recorded resolution
Makefile | 2 + builtin-checkout.c | 6 + builtin-ls-files.c | 43 +++++++- builtin-merge.c | 9 +- builtin-read-tree.c | 2 + builtin-rerere.c | 2 + builtin-update-index.c | 18 +++- cache.h | 4 + read-cache.c | 18 +++ rerere.c | 259 +++++++++++++++++++++++++++++++++++++------- rerere.h | 1 + resolve-undo.c | 176 ++++++++++++++++++++++++++++++ resolve-undo.h | 16 +++ t/t2030-unresolve-info.sh | 140 ++++++++++++++++++++++++ 14 files changed, 648 insertions(+), 48 deletions(-) create mode 100644 resolve-undo.c create mode 100644 resolve-undo.h create mode 100755 t/t2030-unresolve-info.sh