Unbreak git_remote_ls on a local transport after disconnecting.
Make sure we don't leak memory again.
Revert "Work around reparse point stat issues"

This reverts commit 32c12ea6a9cafd76a746af2e2be9366c95752f5b.
Correctly handle junctions

A junction has S_IFDIR | S_IFLNK set, however, only one makes sense.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Merge pull request #1680 from csware/win32-junction

Correctly handle win32 junctions
Merge pull request #1678 from arthurschreiber/unbreak-local-ls-after-disconnect

Unbreak git_remote_ls on a local transport after disconnecting.