Menu

#26 Patch for broken git completions

open
nobody
5
2013-01-25
2009-04-27
ujihisa
No

Completion of git-mv was broken. Apply the following patch:

--- /usr/share/zsh/4.3.4/functions/_git.orig 2009-04-26 14:53:11.000000000 -0700
+++ /usr/share/zsh/4.3.4/functions/_git 2009-04-26 14:53:28.000000000 -0700
@@ -1160,7 +1160,7 @@
__git_files () {
local expl files

- files=("${(@f)$(git-ls-files 2>/dev/null)}")
+ files=("${(@f)$(git ls-files 2>/dev/null)}")
if (( $? == 0 )); then
_wanted files expl 'index file' _multi_parts $@ - / files
else

Discussion