diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_git | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 25f63b6c5..a845da630 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-12-05 Daniel Shahaf <d.s@daniel.shahaf.name> + + * 36957: Completion/Unix/Command/_git: _git: Apply matchspecs to + filename completion such as 'git log f/b<TAB>' → 'foo/bar.txt's + 2015-12-04 Peter Stephenson <p.stephenson@samsung.com> * 37305: Src/params.c, Test/A06assign.ztst, diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 6e8e9c665..2030321de 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -6119,7 +6119,7 @@ __git_tree_files () { shift (( at_least_one_tree_added = 0 )) for tree in $*; do - tree_files+=(${(ps:\0:)"$(_call_program tree-files git ls-tree $extra_args --name-only -z $tree $Path 2>/dev/null)"}) + tree_files+=(${(ps:\0:)"$(_call_program tree-files git ls-tree -r $extra_args --name-only -z $tree 2>/dev/null)"}) __git_command_successful $pipestatus && (( at_least_one_tree_added = 1 )) done |