File: test_deprecated_options

package info (click to toggle)
git-delta 0.18.2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,452 kB
  • sloc: sh: 751; makefile: 117
file content (11 lines) | stat: -rwxr-xr-x 328 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# if first arg provided, use it, otherwise default to release
DELTA_BIN=${1:-./target/release/delta}
DELTA="$DELTA_BIN --no-gitconfig"

foreground_color=red
for decoration_attr in box underline plain; do
    git show | $DELTA --commit-style $decoration_attr
    git show | $DELTA --file-style $decoration_attr
done