//! Async command helpers for remote operations.
//!
//! Each function clones the `PathBuf`, spawns blocking work that opens the repo
//! inside, performs the remote operation, and maps the result into a [`Message`].
use PathBuf;
use Task;
use crateMessage;
/// Fetch from a named remote.
///
/// If the remote doesn't exist or authentication is required, the task resolves
/// to an error message.