pijul patch

Output the compressed encoding of a patch (in binary)

Usage

pijul patch [-h | --help] [-V | --version] [--repository <repository>] [--bin] <patch>

Description

Output the patch to the standard output:

  • in gzip-compressed binary if --bin is supplied
  • in text else (may lose information). Note that the text representation is merely a pretty-printed representation, and is not sufficient to apply the patch.

This command is meant to be called on a remote repository over SSH.

Example

Show all the changes in the "src" and "tests" directories.

pijul diff src tests

Options

  • -h, --help

    Print a help message and exit.

  • -V, --version

    Print the version of Pijul and exit.

  • --repository <repository>

    Don't run this command in the current directory, run it in <repository> instead.

  • <patch>

    Hash of the patch to be printed.