t5510: Do not use $(pwd) when fetching / pushing / pulling via rsync
commitab58289eff9d305a8f911c8b7bd5b4e84a693563
authorSebastian Schuberth <sschuberth@gmail.com>
Wed, 19 Mar 2014 19:43:53 +0000 (19 20:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Mar 2014 21:10:54 +0000 (19 14:10 -0700)
tree21595a7b115d70c8d0d24abbea72c7485b74023e
parent5f95c9f850b19b368c43ae399cc831b17a26a5ac
t5510: Do not use $(pwd) when fetching / pushing / pulling via rsync

On MINGW, "pwd" is defined as "pwd -W" in test-lib.sh. This usually is the
right thing, but the absolute Windows path with a colon confuses rsync. We
could use $PWD in this case to work around the issue, but in fact there is
no need to use an absolute path in the first place, so get rid of it.

This was discovered in the context of the mingwGitDevEnv project and only
did not surface before with msysgit because the latter does not ship
rsync.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5510-fetch.sh