1OSTREE DIFF(1) ostree diff OSTREE DIFF(1)
2
3
4
6 ostree-diff - Compare a directory against a revision
7
9 ostree diff [OPTIONS...] {REV_OR_DIR} {REV_OR_DIR}
10
12 Compare a directory or revision against another directory or revision.
13 If REV_OR_DIR starts with `/` or `./`, it is interpreted as a
14 directory, otherwise a revision. Shows files and directories modified,
15 added, and deleted. If there is a file in the second REV_OR_DIR not in
16 the first, it will show with an "A" for "added". If a file in the first
17 REV_OR_DIR is not in the second, it shows "D" for "deleted". "M" for
18 "modified" will also show.
19
21 --stats
22 Print various statistics.
23
24 --fs-diff
25 Print filesystem diff.
26
27 --owner-uid
28 Use file ownership user id for local files.
29
30 --owner-gid
31 Use file ownership group id for local files.
32
34 $ ostree diff my-branch^ my-branch
35
36 A /testdirectory
37 M /helloworld.txt
38
39 $ ostree diff my-branch my-branch^
40
41 D /testdirectory
42 M /helloworld.txt
43
44
45
46OSTree OSTREE DIFF(1)