Improve the naming of guessed target repository for git clone
commit8a94bc7bdc54db0d77058e63baf173ff932cba7c
authorAlex Riesen <raa.lkml@gmail.com>
Wed, 13 May 2009 16:32:06 +0000 (13 18:32 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 May 2009 02:43:29 +0000 (16 19:43 -0700)
treea4b4665570f762bc3987d4932179411e3e7a9b89
parent39d404d13774fac5ce4b7b180d2b8988eb6fd6c7
Improve the naming of guessed target repository for git clone

Strip leading and trailing spaces off guessed target directory, and
replace sequences of whitespace and 'control' characters with one
space character.

User still can have any name by specifying it explicitely after url.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c