-1. start midnight commander 0. enter a git controlled directory with an 'upstream' remote 1. switch to subshell with Ctrl-O 2. enter 'git log up<TAB>' 3. - here it tends to complete as 'git log upstream/master' - 4. quit the pager Now, no further input is echoed on screen, not even shell history.
I'm sorry but I can't reproduce it with the current bash-completion versions. Could you see if it isn't fixed by one of the newer versions, preferably 2.7? If you can still reproduce it, please reopen the bug.