gregsexton / gitv

gitk for Vim.
938 stars 59 forks source link

Errors on grr #122

Closed jhornsberger closed 6 years ago

jhornsberger commented 7 years ago

I'm seeing the following errors when trying to use the "grr" rebase functionality.

Error detected while processing function <SNR>12_Rebase[12]..<SNR>12_RebaseGetRange[65]..<SNR>12_RebaseGetChoice[2]..<SNR>12
_GetConfirmString:
line    5:
E745: Using a List as a Number
E15: Invalid expression: a:list + a:000
line    6:
E121: Undefined variable: totalList
E116: Invalid arguments for function s:ConfirmStringBipartiteGraph(totalList)
E15: Invalid expression: s:ConfirmStringBipartiteGraph(totalList)
line    7:
E121: Undefined variable: G
E116: Invalid arguments for function s:MaxBipartiteMatching(G)
E15: Invalid expression: s:MaxBipartiteMatching(G)
line    9:
E121: Undefined variable: totalList
E15: Invalid expression: totalList

I see this in both Vim 7.4 and Neovim 0.2.0.

NVIM v0.2.0
Build type: Release
Compilation: /usr/lib/ccache/cc -Wconversion -DNVIM_MSGPACK_HAS_FLOAT32 -O2 -DNDEBUG -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-stro
ng -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/home/jeff/projects/neovim/build/config -I/home/jeff/projects/neovim/src -I/home/jeff/projects/neovim/.deps/usr/include -I/home
/jeff/projects/neovim/.deps/usr/include -I/home/jeff/projects/neovim/.deps/usr/include -I/home/jeff/projects/neovim/.deps/usr/include -I/home/jeff/projects/neovim/.deps/usr/include -I/home/jeff/projects/n
eovim/.deps/usr/include -I/usr/include -I/home/jeff/projects/neovim/build/src/nvim/auto -I/home/jeff/projects/neovim/build/include
Compiled by root@dhcp-2072-417.sjc.aristanetworks.com

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
echuraev commented 7 years ago

I have the same problem in vim 8.0.

rbong commented 6 years ago

Oversight on my part, fixed on master. Please re-open if you still face the issue, only closing because this ticket is so old.