Skip to content

Commit

Permalink
diff: add note with link to issue explaining how to diff text file co…
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeorpinel committed Jul 18, 2019
1 parent dc33553 commit 9ce552a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions static/docs/commands-reference/diff.md
Expand Up @@ -27,6 +27,11 @@ were deleted/changed, and the file size differences.
Note that `dvc diff` does not show the line-to-line comparison among the target
files in each revision, like `git diff` does.

> For an example on how to create line-to-line text file comparison refer to
> issue
> [#770](https://github.com/iterative/dvc/issues/770#issuecomment-512693256) in
> our code repository.
If the `-t` option is used, the diff is limited to the `TARGET` file or
directory specified.

Expand Down
2 changes: 1 addition & 1 deletion static/docs/user-guide/update-tracked-file.md
Expand Up @@ -9,7 +9,7 @@ corruption when the DVC config option `cache.type` is set to `hardlink` or/and
link types.)

> For an example of the cache corruption problem see issue
> [#599](https://github.com/iterative/dvc/issues/599 in our code repository.
> [#599](https://github.com/iterative/dvc/issues/599) in our code repository.
Assume `train.tsv` is tracked by dvc and you want to update it. Here updating
may mean either replacing `train.tsv` with a new file having the same name or
Expand Down

0 comments on commit 9ce552a

Please sign in to comment.