4# Normalise YAML files passed as inputs, then run diff on them.
10 echo "Error: $util not found in PATH"
21# Only normalise YAML files.
22# Print anything else as is.
25 local contents=($YQ -y -S '.' $file)
27 # if $contents contains actual YAML data, print it
28 if [[ $? == 0 ]]; then
35$DIFF -u <(normalise $1) <(normalise $2)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list