Skip to content

Commit

Permalink
debugged
Browse files Browse the repository at this point in the history
  • Loading branch information
iesahin committed Nov 28, 2024
1 parent 2878ec0 commit c745e6b
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions book/src/ref/xvc-file-track.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ Options:
--text-or-binary <TEXT_OR_BINARY>
Calculate digests as text or binary file without checking contents, or by automatically. (Default: auto)

--include-git-files
Include git tracked files as well. (Default: false)
Xvc doesn't track files that are already tracked by git by default. You can set files.track.include-git to true in the configuration file to change this behavior.

--force
Add targets even if they are already tracked

Expand Down Expand Up @@ -186,21 +191,7 @@ command. Note that, as the files are deduplicated, we need to use `--force` in
carry-in command. This behavior may change in the future.

```console
$ xvc --debug file carry-in --force dir-0004/
? 101
thread '<unnamed>' panicked at file/src/carry_in/mod.rs:256:17:
Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at file/src/carry_in/mod.rs:256:17:
Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
thread '<unnamed>' panicked at lib/src/cli/mod.rs:254:52:
[PANIC] Os { code: 13, kind: PermissionDenied, message: "Permission denied" }, [file/src/carry_in/mod.rs::256]
thread '<unnamed>' panicked at file/src/carry_in/mod.rs:256:17:
Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
thread '<unnamed>' panicked at file/src/common/gitignore.rs:77:9:
called `Result::unwrap()` on an `Err` value: "SendError(..)"
thread 'main' panicked at lib/src/cli/mod.rs:403:52:
called `Result::unwrap()` on an `Err` value: Any { .. }
$ xvc file carry-in --force dir-0004/

$ ls -l dir-0004/
total 0
Expand Down

0 comments on commit c745e6b

Please sign in to comment.