Skip to content
Snippets Groups Projects
Commit ced78b39 authored by Yasushi SHOJI's avatar Yasushi SHOJI Committed by Junio C Hamano
Browse files

clone: the given repository dir should be relative to $PWD


the repository argument for git-clone should be relative to $PWD
instead of the given target directory.  The old behavior gave us
surprising success and you need a few minute to know why it worked.

GIT_DIR is already exported so no need to cd into $D. And this makes
$PWD for git-fetch-pack, which is the actual command to take the given
repository dir, the same as git-clone.

Signed-off-by: default avatarYasushi SHOJI <yashi@atmark-techno.com>
Signed-off-by: default avatarJunio C Hamano <junkio@cox.net>
parent d988b822
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment