Enable diff-so-fancy for other git actions
[core]
pager = diff-so-fancy | less -FXRi
[pager]
add = true
diff = true
difftool = true
log = true
show = true
it would enable diff-so-fancy also for git add --patch
command and others.
$ git add --patch .
─────────────────────────────────────────────────────────────
modified: main.go
─────────────────────────────────────────────────────────────
@ main.go:6 @ package main
import (
"flag"
"fmt"
log "github.com/sirupsen/logrus"
"io/ioutil"
oldLog "log"
"os"
"strings"
log "github.com/sirupsen/logrus"
"github.com/juliosueiras/terraform-lsp/langserver"
"github.com/spf13/pflag"
"github.com/spf13/viper"
Tweet