зеркало из https://github.com/microsoft/git.git
Merge branch 'jk/jump-merge-with-pathspec'
The "merge" subcommand of "git jump" (in contrib/) silently ignored pathspec and other parameters. * jk/jump-merge-with-pathspec: git-jump: pass "merge" arguments to ls-files
This commit is contained in:
Коммит
a0f3df5d64
|
@ -65,6 +65,9 @@ git jump diff --cached
|
|||
# jump to merge conflicts
|
||||
git jump merge
|
||||
|
||||
# documentation conflicts are hard; skip past them for now
|
||||
git jump merge :^Documentation
|
||||
|
||||
# jump to all instances of foo_bar
|
||||
git jump grep foo_bar
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ mode_diff() {
|
|||
}
|
||||
|
||||
mode_merge() {
|
||||
git ls-files -u |
|
||||
git ls-files -u "$@" |
|
||||
perl -pe 's/^.*?\t//' |
|
||||
sort -u |
|
||||
while IFS= read fn; do
|
||||
|
|
Загрузка…
Ссылка в новой задаче