]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/clone.c
Improve the naming of guessed target repository for git clone
authorAlex Riesen <raa.lkml@gmail.com>
Wed, 13 May 2009 16:32:06 +0000 (18:32 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 May 2009 02:43:29 +0000 (19:43 -0700)
commit8a94bc7bdc54db0d77058e63baf173ff932cba7c
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