Skip to content

Commit

Permalink
Merge pull request #889 from xitep/master
Browse files Browse the repository at this point in the history
Allow AutotagOptions and FetchPrune enum to be copied and cloned
  • Loading branch information
ehuss authored Nov 17, 2022
2 parents 405b76b + f03df45 commit 1e9c9ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1379,6 +1379,7 @@ impl DiffStatsFormat {
}

/// Automatic tag following options.
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum AutotagOption {
/// Use the setting from the remote's configuration
Unspecified,
Expand All @@ -1391,6 +1392,7 @@ pub enum AutotagOption {
}

/// Configuration for how pruning is done on a fetch
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum FetchPrune {
/// Use the setting from the configuration
Unspecified,
Expand Down

0 comments on commit 1e9c9ce

Please sign in to comment.