@@ -311,7 +311,7 @@ pub enum RepositoryState {
311
311
}
312
312
313
313
/// An enumeration of the possible directions for a remote.
314
- #[ derive( Copy , Clone ) ]
314
+ #[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
315
315
pub enum Direction {
316
316
/// Data will be fetched (read) from this remote.
317
317
Fetch ,
@@ -321,7 +321,7 @@ pub enum Direction {
321
321
322
322
/// An enumeration of the operations that can be performed for the `reset`
323
323
/// method on a `Repository`.
324
- #[ derive( Copy , Clone ) ]
324
+ #[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
325
325
pub enum ResetType {
326
326
/// Move the head to the given commit.
327
327
Soft ,
@@ -1213,7 +1213,7 @@ impl SubmoduleStatus {
1213
1213
/// These values represent settings for the `submodule.$name.ignore`
1214
1214
/// configuration value which says how deeply to look at the working
1215
1215
/// directory when getting the submodule status.
1216
- #[ derive( Debug ) ]
1216
+ #[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
1217
1217
pub enum SubmoduleIgnore {
1218
1218
/// Use the submodule's configuration
1219
1219
Unspecified ,
@@ -1233,7 +1233,7 @@ pub enum SubmoduleIgnore {
1233
1233
/// configuration value which says how to handle `git submodule update`
1234
1234
/// for this submodule. The value is usually set in the ".gitmodules"
1235
1235
/// file and copied to ".git/config" when the submodule is initialized.
1236
- #[ derive( Debug ) ]
1236
+ #[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
1237
1237
pub enum SubmoduleUpdate {
1238
1238
/// The default; when a submodule is updated, checkout the new detached
1239
1239
/// HEAD to the submodule directory.
@@ -1322,7 +1322,7 @@ impl CheckoutNotificationType {
1322
1322
}
1323
1323
1324
1324
/// Possible output formats for diff data
1325
- #[ derive( Copy , Clone ) ]
1325
+ #[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
1326
1326
pub enum DiffFormat {
1327
1327
/// full git diff
1328
1328
Patch ,
@@ -1386,7 +1386,7 @@ pub enum FetchPrune {
1386
1386
}
1387
1387
1388
1388
#[ allow( missing_docs) ]
1389
- #[ derive( Debug ) ]
1389
+ #[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
1390
1390
pub enum StashApplyProgress {
1391
1391
/// None
1392
1392
None ,
0 commit comments