found 507670 git/1:1.7.10.4-1
quit

Hi Marco,

Marco TĂșlio Gontijo e Silva wrote:

> $ git mv test.c<TAB><TAB>
> test.c
> $ git mv test.c
>
> It should add a space after test.c.

The completion script uses "complete -o nospace" to support such
tricks as

        git fetch --de<TAB>

producing

        git fetch --depth=_

with no trailing space.  Do you know if there's a way to suppress
the trailing space for completion of some words and not others
without suppressing the trailing space for the built-in fallback
filename completion?

An alternative would be to do the filename completion ourselves,
which would give the script a chance to add the trailing space
"by hand".

Thanks,
Jonathan


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to