Files
helium/devutils/set_quilt_vars.fish
wukko 92ebfbe654 devutils/set_quilt_vars: don't sort patches
our patches are often sorted in logical order, not alphabetically. even if we were to switch to alphabetically sorted patches now, the diff & blame would be completely incomprehensible, and i think we should avoid that.
2025-09-12 22:30:59 +06:00

21 lines
714 B
Fish
Executable File

#!/bin/fish
# Fish variant of set_quilt_vars.sh
alias quilt='quilt --quiltrc -'
set REPO_ROOT (dirname (dirname (readlink -f (status current-filename))))
set -gx QUILT_PATCHES "$REPO_ROOT/patches"
set -gx QUILT_PUSH_ARGS "--color=auto"
set -gx QUILT_DIFF_OPTS "--show-c-function"
set -gx QUILT_PATCH_OPTS "--unified --reject-format=unified"
set -gx QUILT_DIFF_ARGS "-p ab --no-timestamps --no-index --color=auto"
set -gx QUILT_REFRESH_ARGS "-p ab --no-timestamps --no-index --strip-trailing-whitespace"
set -gx QUILT_COLORS "diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33"
set -gx QUILT_SERIES_ARGS "--color=auto"
set -gx QUILT_PATCHES_ARGS "--color=auto"
set -gx LC_ALL C