diff options
author | Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> | 2011-02-16 05:47:44 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-16 13:20:50 -0800 |
commit | ac49f5ca84d82e5b10bc1eb022dfdd9b0e8f7749 (patch) | |
tree | 418f03c9befc275a222889dde09610b5e9440cc2 /t/t4013/diff.diff-tree_--pretty_--root_-p_initial | |
parent | Git 1.7.4-rc1 (diff) | |
download | tgif-ac49f5ca84d82e5b10bc1eb022dfdd9b0e8f7749.tar.xz |
rerere "remaining"
After "rerere" resolves conflicts by reusing old resolution, there would
be three kinds of paths with conflict in the index:
* paths that have been resolved in the working tree by rerere;
* paths that need further work whose resolution could be recorded;
* paths that need resolving that rerere won't help.
When the user wants a list of paths that need hand-resolving, output from
"rerere status" does not help, as it shows only the second category, but
the paths in the third category still needs work (rerere only makes sense
for regular files that have both our side and their side, and does not
help other kinds of conflicts, e.g. "we modified, they deleted").
The new subcommand "rerere remaining" can be used to show both. As
opposed to "rerere status", this subcommand also skips printing paths
that have been added to the index, since these paths are already
resolved and are no longer "remaining".
Initial patch provided by Junio. Refactored and modified to skip
resolved paths by Martin. Commit message mostly by Junio.
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty_--root_-p_initial')
0 files changed, 0 insertions, 0 deletions