chiark / gitweb /
Use the default git colouring scheme rather than specific scripts
authorCatalin Marinas <catalin.marinas@gmail.com>
Sat, 30 May 2009 12:13:26 +0000 (13:13 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Sat, 30 May 2009 12:13:26 +0000 (13:13 +0100)
commitafddd62b52567fc1834e658b968f5a62334ea63c
tree60a0527b687a4e0cd696f5fd1881d8fbeceb916c
parent5660771ca427fedb50cb3607e6b76c299d5d5fa3
Use the default git colouring scheme rather than specific scripts

This patch adds the mechanism to check if the output is tty for the
diff and show commands and passes the --color option to git if the
color.diff config option is set auto or true. The patch also changes the
default pager to 'less -FRSX' from the diffcol.sh script.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
contrib/diffcol.sh [deleted file]
examples/gitconfig
setup.py
stgit/commands/common.py
stgit/commands/diff.py
stgit/commands/show.py
stgit/config.py