pijul add --force know adds ignored files

[?]
Jan 8, 2021, 7:18 AM
TPQHDDNCTXOCKCPI2ET24OKEVR4N27IMI3SUBII7YI7BEGRXGEMQC

Dependencies

  • [2] AFWNXPBK Prevent the addition of .pijul to the repository
  • [3] 4VWXL6KQ Correct handling of ignore files
  • [4] 4OCC6D42 Recursive add
  • [*] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [*] TZVUNELW Documentation comments

Change contents

  • edit in pijul/src/commands/file_operations.rs at line 96
    [3.66]
    [7.331]
    #[clap(short = 'f', long = "force")]
    force: bool,
  • replacement in pijul/src/commands/file_operations.rs at line 115
    [3.226][2.0:181]()
    if !libpijul::working_copy::filesystem::filter_ignore(
    repo_path.as_ref(),
    path.as_ref(),
    meta.is_dir(),
    ) {
    [3.226]
    [3.222]
    if !self.force
    && !libpijul::working_copy::filesystem::filter_ignore(
    repo_path.as_ref(),
    path.as_ref(),
    meta.is_dir(),
    )
    {