Auto-refresh views when changes are detected in the repository
commit73a8e5b18855055b44e998834aa5cdb8160c307d
authorJonas Fonseca <jonas.fonseca@gmail.com>
Tue, 29 Apr 2014 01:56:58 +0000 (28 21:56 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Tue, 29 Apr 2014 02:36:26 +0000 (28 22:36 -0400)
tree8d9149b00ae09d0d89c455c4bf1e21b29408e1e0
parent1a14dd572775f04e7bb04a79f7d95c59269a11e0
Auto-refresh views when changes are detected in the repository

This adds support for watching certain .git files and refresh views that
depend on them when they change. As a result the old mechanism for
auto-refreshing after returning from the shell has been removed.

Fixes #190
17 files changed:
Makefile
NEWS.adoc
doc/tigrc.5.adoc
include/tig/options.h
include/tig/types.h
include/tig/view.h
include/tig/watch.h [new file with mode: 0644]
src/display.c
src/main.c
src/refs.c
src/stage.c
src/stash.c
src/status.c
src/tig.c
src/view.c
src/watch.c [new file with mode: 0644]
tigrc