author | Jonathon Mah <me@JonathonMah.com> | |
Fri, 16 Sep 2011 02:12:10 +0000 (19:12 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 26 Sep 2011 16:39:36 +0000 (09:39 -0700) | ||
commit | 3e8e691abe4e1cce73a8a2ef413dada0278e7b3b | |
tree | 8835c83dc6dc584482acc6f94063399a07c1e1eb | tree | snapshot |
parent | 2765233c64c35eb43a8b46c377fb8b464469221f | commit | diff |
mergetool: Use args as pathspec to unmerged files
Mergetool now treats its path arguments as a pathspec (like other git
subcommands), restricting action to the given files and directories.
Files matching the pathspec are filtered so mergetool only acts on
unmerged paths; previously it would assume each path argument was in an
unresolved state, and get confused when it couldn't check out their
other stages.
Running "git mergetool subdir" will prompt to resolve all conflicted
blobs under subdir.
Signed-off-by: Jonathon Mah <me@JonathonMah.com>
Acked-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Mergetool now treats its path arguments as a pathspec (like other git
subcommands), restricting action to the given files and directories.
Files matching the pathspec are filtered so mergetool only acts on
unmerged paths; previously it would assume each path argument was in an
unresolved state, and get confused when it couldn't check out their
other stages.
Running "git mergetool subdir" will prompt to resolve all conflicted
blobs under subdir.
Signed-off-by: Jonathon Mah <me@JonathonMah.com>
Acked-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-mergetool.txt | diff | blob | history | |
git-mergetool.sh | diff | blob | history | |
t/t7610-mergetool.sh | diff | blob | history |