MyGit

0.5.0

dandavison/delta

版本发布时间: 2020-12-31 08:29:27

dandavison/delta最新发布版本:0.18.2(2024-09-11 20:37:21)

This release introduces a cosmetic change to delta output: the line number (when full line-numbers mode is not active) is now displayed in the hunk header line, along with the hunk header code fragment, and optionally a file path. Thanks to @infokiller and @torarnv for suggesting these changes. For example, it might now look like this, if you use hunk-header-style = file line-number syntax:

image

Use hunk-header-style to configure it:

--hunk-header-style <hunk-header-style>
    Style (foreground, background, attributes) for the hunk-header. See STYLES section. Special attributes
    'file' and 'line-number' can be used to include the file path, and number of first hunk line, in the hunk
    header. If included in the hunk header, 'file' and 'line-number' are styled according to 'file-style' and
    'hunk-header-decoration-style' respectively. The style 'omit' can be used to remove the hunk header section
    from the output [default: line-number syntax]

If you are displaying the file path in the hunk header, you may want to get rid of the main file line. Use file-style = <my-file-color> omit to set the color of the file in the hunk header while deactivating the main file section.

The release also fixes a bug that was introduced in the last release when using delta as a unified diff replacement, i.e. delta file_a file_b. (#463).

相关地址:原始地址 下载(tar) 下载(zip)

1、 delta-0.5.0-aarch64-unknown-linux-gnu.tar.gz 2.02MB

2、 delta-0.5.0-arm-unknown-linux-gnueabihf.tar.gz 2.01MB

3、 delta-0.5.0-i686-unknown-linux-gnu.tar.gz 2.24MB

4、 delta-0.5.0-x86_64-apple-darwin.tar.gz 2.04MB

5、 delta-0.5.0-x86_64-pc-windows-msvc.zip 2.31MB

6、 delta-0.5.0-x86_64-unknown-linux-gnu.tar.gz 2.15MB

7、 delta-0.5.0-x86_64-unknown-linux-musl.tar.gz 2.18MB

8、 git-delta-musl_0.5.0_amd64.deb 1.75MB

9、 git-delta_0.5.0_amd64.deb 1.71MB

10、 git-delta_0.5.0_arm64.deb 1.56MB

11、 git-delta_0.5.0_armhf.deb 1.54MB

12、 git-delta_0.5.0_i386.deb 1.8MB

查看:2020-12-31发行的版本