logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ostree-diff - Compare a directory against a revision

Description

       Compare a directory or revision against another directory or revision. If REV_OR_DIR starts with `/` or
       `./`, it is interpreted as a directory, otherwise a revision. Shows files and directories modified,
       added, and deleted. If there is a file in the second REV_OR_DIR not in the first, it will show with an
       "A" for "added". If a file in the first REV_OR_DIR is not in the second, it shows "D" for "deleted". "M"
       for "modified" will also show.

Example

$ostreediffmy-branch^my-branch

                   A   /testdirectory
                   M   /helloworld.txt

       $ostreediffmy-branchmy-branch^

                   D   /testdirectory
                   M   /helloworld.txt

OSTree                                                                                            OSTREEDIFF(1)

Name

       ostree-diff - Compare a directory against a revision

Options

--stats
           Print various statistics.

       --fs-diff
           Print filesystem diff.

       --owner-uid
           Use file ownership user id for local files.

       --owner-gid
           Use file ownership group id for local files.

Synopsis

ostreediff [OPTIONS...] {REV_OR_DIR} {REV_OR_DIR}

See Also