ruby: fix make clean

We don't want to remove the non-generated Ruby scripts.

Reported-by: Peter Oberndorfer <kumbayo84@arcor.de>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
completion: fix completion of certain aliases

Some commands need the first word to determine the actual action that is
being executed, however, the command is wrong when we use an alias, for
example 'alias.p=push', if we try to complete 'git p origin ', the
result would be wrong because __git_complete_remote_or_refspec() doesn't
know where it come from.

So let's override words[1], so the alias 'p' is override by the actual
command, 'push'.

Reported-by: Aymeric Beaumet <aymeric.beaumet@gmail.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
remote-hg: fix paths with spaces

git-fast-import expects paths to be C-style quoted, so let's do that the
same way git-remote-bzr does.

Signed-off-by: Antoine Pelisse <apelisse@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Improved-by: Richard Hansen <rhansen@bbn.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
remote-hg: add tests for special filenames

So that we check that UTF-8 and spaces work fine.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Add travis-ci configuration

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>