Skip to content

Commit ba43121

Browse files
committed
Added comments to describe the add flags
1 parent 1fb5f64 commit ba43121

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,9 +529,9 @@ bitflags! {
529529
/// Flags for APIs that add files matching pathspec
530530
#[derive(Clone, Copy, Debug, Eq, PartialEq, PartialOrd, Ord, Hash)]
531531
pub struct IndexAddOption: u32 {
532-
#[allow(missing_docs)]
532+
/// Adds files that are not ignored to the index
533533
const DEFAULT = raw::GIT_INDEX_ADD_DEFAULT as u32;
534-
#[allow(missing_docs)]
534+
/// Allows adding otherwise ignored files to the index
535535
const FORCE = raw::GIT_INDEX_ADD_FORCE as u32;
536536
#[allow(missing_docs)]
537537
const DISABLE_PATHSPEC_MATCH =

0 commit comments

Comments
 (0)