Skip to content

Commit

Permalink
Add --include-git-files option to get all files
Browse files Browse the repository at this point in the history
  • Loading branch information
iesahin committed Nov 29, 2024
1 parent fd18901 commit dc15c69
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/tests/test_file_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ fn test_file_list() -> Result<()> {
common::run_xvc(Some(&xvc_root), &c, XvcVerbosity::Trace)
};

let list_all = x(&["list", "--format", "{{name}}", "--show-dot-files"])?;
let list_all = x(&[
"list",
"--format",
"{{name}}",
"--show-dot-files",
"--include-git-files",
])?;

let count_all = list_all.trim().lines().count();
// There must be 33 elements in total. 6 x 5: directories, 1 for .gitignore,
Expand Down

0 comments on commit dc15c69

Please sign in to comment.