Skip to content

Commit 1e9c9ce

Browse files
authored
Merge pull request #889 from xitep/master
Allow AutotagOptions and FetchPrune enum to be copied and cloned
2 parents 405b76b + f03df45 commit 1e9c9ce

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)