Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fde9d56 authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "adb: don\'t pull symlinks." am: 29843cf1 am: e01de068

am: b5706b5f

* commit 'b5706b5f':
  adb: don't pull symlinks.
parents 94c8c1a8 b5706b5f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -887,8 +887,7 @@ bool do_sync_pull(const std::vector<const char*>& srcs, const char* dst,
            continue;
        }

        if (S_ISREG(src_mode) || S_ISLNK(src_mode)) {
            // TODO(b/25601283): symlinks shouldn't be handled as files.
        if (S_ISREG(src_mode)) {
            std::string path_holder;
            if (dst_isdir) {
                // If we're copying a remote file to a local directory, we