From: Alex Riesen Date: Wed, 6 Jun 2007 23:39:05 +0000 (-0700) Subject: Fix clone to setup the origin if its name ends with .git X-Git-Tag: v1.5.2.2~9^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/defe13a24a254f19596b8008095829068e742f9c?ds=inline;hp=defe13a24a254f19596b8008095829068e742f9c Fix clone to setup the origin if its name ends with .git The problem is visible when cloning a local repo. The cloned repository will have the origin url setup incorrectly: the origin name will be copied verbatim in origin url of the cloned repository. Normally, the name is to be expanded into absolute path. Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano ---