Skip to content

Commit f03df45

Browse files
committed
Allow AutotagOptions and FetchPrune enum to be copied and cloned
1 parent 3f85678 commit f03df45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1379,6 +1379,7 @@ impl DiffStatsFormat {
13791379
}
13801380

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

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

0 commit comments

Comments
 (0)