Expose settings holding the filtered command line arguments
commit8009e23356fb082a5ffbef8be8ec8fd6697e45fa
authorJonas Fonseca <jonas.fonseca@gmail.com>
Thu, 31 Jul 2014 01:16:44 +0000 (30 21:16 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Thu, 31 Jul 2014 03:39:29 +0000 (30 23:39 -0400)
tree38d0d22b692e89cd39282e4edd125e50a76ed032
parent6e7d1c9c7ac61bd7edec443bbed0848427df2d78
Expose settings holding the filtered command line arguments

This allows to change the filtering arguments at "runtime". For example,
the following binding allows to select a branch in the refs view for
filtering in the refs view:

bind refs @ :set rev-args = %(ref)

Fixes #306
NEWS.adoc
doc/tigrc.5.adoc
include/tig/options.h
src/argv.c
src/blame.c
src/diff.c
src/grep.c
src/main.c
src/prompt.c
src/tig.c